From: Jeremy Allison Date: Thu, 31 May 2012 23:06:17 +0000 (-0700) Subject: Remove an unused variable. X-Git-Tag: samba-4.0.0beta1~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50d4c96d66b876741672f8ce4744891e713f3a3f;p=thirdparty%2Fsamba.git Remove an unused variable. Autobuild-User: Jeremy Allison Autobuild-Date: Fri Jun 1 03:03:12 CEST 2012 on sn-devel-104 --- diff --git a/lib/util/debug.c b/lib/util/debug.c index 52abd799f78..a990ad5112d 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; }