Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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)