r14399: Fix deadcode coverity bug #3.
authorJeremy Allison <jra@samba.org>
Tue, 14 Mar 2006 21:01:30 +0000 (21:01 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:15:28 +0000 (11:15 -0500)
Jeremy.
(This used to be commit 3799f18b356934592206679310e6e409c0d1ca0f)

source3/rpcclient/rpcclient.c

index 4639b315d150d643a34dd2ebac6048328b15f940..50ddbd405ba3e2d009179417a3794bdb81f6ce68 100644 (file)
@@ -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 */