Skip to content

Commit d859fdb

Browse files
committed
Fix gcc >= 10 warning
Reported-by: Bharath Rupireddy Discussion: https://postgr.es/m/CALj2ACVQoFXxFm2kCmhHcdM7DjA84_bOjoM8HVAKHbE%2BKrZ1uA%40mail.gmail.com
1 parent fdfb92c commit d859fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/commands/dbcommands.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ createdb(ParseState *pstate, const CreatedbStmt *stmt)
680680
char src_locprovider = '\0';
681681
char *src_collversion = NULL;
682682
bool src_istemplate;
683-
bool src_hasloginevt;
683+
bool src_hasloginevt = false;
684684
bool src_allowconn;
685685
TransactionId src_frozenxid = InvalidTransactionId;
686686
MultiXactId src_minmxid = InvalidMultiXactId;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy