Skip to content

Commit 97bddda

Browse files
committed
Silence -Wmaybe-uninitialized compiler warning in dbcommands.c.
Introduced in f2553d4. See also 3f6b3be, which did so for nearby variables. Discussion: https://postgr.es/m/20220319014707.kgtomqdzm6m2ulro@alap3.anarazel.de
1 parent e186f56 commit 97bddda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/commands/dbcommands.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ createdb(ParseState *pstate, const CreatedbStmt *stmt)
109109
char *src_collate = NULL;
110110
char *src_ctype = NULL;
111111
char *src_iculocale = NULL;
112-
char src_locprovider;
112+
char src_locprovider = '\0';
113113
char *src_collversion = NULL;
114114
bool src_istemplate;
115115
bool src_allowconn;

0 commit comments

Comments
 (0)