Content-Length: 257327 | pFad | http://github.com/postgrespro/postgres/commit/98316e211b60cb160247171e3557b40a247c4610

34 Silence compiler warning about uninitialized variable. · postgrespro/postgres@98316e2 · GitHub
Skip to content

Commit 98316e2

Browse files
committed
Silence compiler warning about uninitialized variable.
1 parent dd024c2 commit 98316e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_upgrade/exec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ exec_prog(bool throw_error, bool is_priv,
4040
va_list args;
4141
int result;
4242
char cmd[MAXPGPATH];
43-
mode_t old_umask;
43+
mode_t old_umask = 0;
4444

4545
if (is_priv)
4646
old_umask = umask(S_IRWXG | S_IRWXO);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/98316e211b60cb160247171e3557b40a247c4610

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy