From 568f28284a99fc6f6efb2618ad8d91699cad46b8 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 14 Mar 2006 21:01:30 +0000 Subject: r14399: Fix deadcode coverity bug #3. Jeremy. (This used to be commit 3799f18b356934592206679310e6e409c0d1ca0f) --- source3/rpcclient/rpcclient.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3/rpcclient') diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 4639b315d1..50ddbd405b 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -685,7 +685,6 @@ out_free: int main(int argc, char *argv[]) { - BOOL interactive = True; int opt; static char *cmdstr = NULL; const char *server; @@ -719,9 +718,7 @@ out_free: /* the following functions are part of the Samba debugging facilities. See lib/debug.c */ - setup_logging("rpcclient", interactive); - if (!interactive) - reopen_logs(); + setup_logging("rpcclient", True); /* Parse options */ -- cgit