From 50d4c96d66b876741672f8ce4744891e713f3a3f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 31 May 2012 16:06:17 -0700 Subject: Remove an unused variable. Autobuild-User: Jeremy Allison Autobuild-Date: Fri Jun 1 03:03:12 CEST 2012 on sn-devel-104 --- lib/util/debug.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/util') 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; } -- cgit