Commit 98316e21 authored by Tom Lane's avatar Tom Lane

Silence compiler warning about uninitialized variable.

parent dd024c22
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment