Remove an unused variable.
authorJeremy Allison <jra@samba.org>
Thu, 31 May 2012 23:06:17 +0000 (16:06 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 1 Jun 2012 01:03:12 +0000 (03:03 +0200)
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Jun  1 03:03:12 CEST 2012 on sn-devel-104

lib/util/debug.c

index 52abd799f7864e6c0b86fcf239abde39c0515fd0..a990ad5112df6393d6ad88ead70f2c392f3e4952 100644 (file)
@@ -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;
        }