diff options
author | Jeremy Allison <jra@samba.org> | 2012-05-31 16:06:17 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-06-01 03:03:12 +0200 |
commit | 50d4c96d66b876741672f8ce4744891e713f3a3f (patch) | |
tree | 6e24a219b0379f9579f78a87ac1e5a3151402a60 /lib/util | |
parent | 8fd02fa2d6bdedbda1657a15f602bb4384367251 (diff) | |
download | samba-50d4c96d66b876741672f8ce4744891e713f3a3f.tar.gz samba-50d4c96d66b876741672f8ce4744891e713f3a3f.tar.bz2 samba-50d4c96d66b876741672f8ce4744891e713f3a3f.zip |
Remove an unused variable.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Jun 1 03:03:12 CEST 2012 on sn-devel-104
Diffstat (limited to 'lib/util')
-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; } |