mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Silence compiler warning about uninitialized variable.
This commit is contained in:
@ -40,7 +40,7 @@ exec_prog(bool throw_error, bool is_priv,
|
|||||||
va_list args;
|
va_list args;
|
||||||
int result;
|
int result;
|
||||||
char cmd[MAXPGPATH];
|
char cmd[MAXPGPATH];
|
||||||
mode_t old_umask;
|
mode_t old_umask = 0;
|
||||||
|
|
||||||
if (is_priv)
|
if (is_priv)
|
||||||
old_umask = umask(S_IRWXG | S_IRWXO);
|
old_umask = umask(S_IRWXG | S_IRWXO);
|
||||||
|
Reference in New Issue
Block a user