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)
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