git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e186f56)
Silence -Wmaybe-uninitialized compiler warning in dbcommands.c.
2022年3月19日 01:48:03 +0000 (18:48 -0700)
2022年3月19日 01:48:03 +0000 (18:48 -0700)
Introduced in f2553d43060e. See also 3f6b3be39ca9, which did so for nearby
variables.

Discussion: https://postgr.es/m/20220319014707.kgtomqdzm6m2ulro@alap3.anarazel.de


diff --git a/src/backend/commands/dbcommands.c b/src/backend/commands/dbcommands.c
index 2e1af642e42753fc1333c5d954f4e20e8551b182..962e11dd8f4bf5bbc72c6244f19d791948e4fb90 100644 (file)
--- a/src/backend/commands/dbcommands.c
+++ b/src/backend/commands/dbcommands.c
@@ -109,7 +109,7 @@ createdb(ParseState *pstate, const CreatedbStmt *stmt)
char *src_collate = NULL;
char *src_ctype = NULL;
char *src_iculocale = NULL;
- char src_locprovider;
+ char src_locprovider = '0円';
char *src_collversion = NULL;
bool src_istemplate;
bool src_allowconn;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /