Silence compiler warning about uninitialized variable.

pull/3/head
Tom Lane 14 years ago
parent dd024c22f1
commit 98316e211b
  1. 2
      contrib/pg_upgrade/exec.c

@ -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…
Cancel
Save