diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/debug.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c index 52abd799f7..a990ad5112 100644 --- a/lib/util/debug.c +++ b/lib/util/debug.c @@ -551,7 +551,6 @@ bool reopen_logs_internal(void) int old_fd = 0; bool ret = true; - char *fname = NULL; if (state.reopening_logs) { return true; } @@ -580,8 +579,7 @@ bool reopen_logs_internal(void) oldumask = umask( 022 ); - fname = state.debugf; - if (!fname) { + if (!state.debugf) { return false; } |