diff options
| author | Tom Lane | 2012-03-27 18:47:23 +0000 |
|---|---|---|
| committer | Tom Lane | 2012-03-27 18:47:23 +0000 |
| commit | 98316e211b60cb160247171e3557b40a247c4610 (patch) | |
| tree | 6e3ba3e8f90baa6d4f87afff44e6d592703c2dcd | |
| parent | dd024c22f1fff083065b42af555a3552721fabfd (diff) | |
Silence compiler warning about uninitialized variable.
| -rw-r--r-- | contrib/pg_upgrade/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_upgrade/exec.c b/contrib/pg_upgrade/exec.c index 42c5c0fff40..68cf0795aab 100644 --- a/contrib/pg_upgrade/exec.c +++ b/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); |
