mirror of
https://github.com/postgres/postgres.git
synced 2026-04-22 14:47:29 -04:00
Silence compiler warning about uninitialized variable.
This commit is contained in:
parent
dd024c22f1
commit
98316e211b
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ exec_prog(bool throw_error, bool is_priv,
|
|||
va_list args;
|
||||
int result;
|
||||
char cmd[MAXPGPATH];
|
||||
mode_t old_umask;
|
||||
mode_t old_umask = 0;
|
||||
|
||||
if (is_priv)
|
||||
old_umask = umask(S_IRWXG | S_IRWXO);
|
||||
|
|
|
|||
Loading…
Reference in a new issue