diff options
author | Jeremy Allison <jra@samba.org> | 2006-03-14 21:01:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:28 -0500 |
commit | 568f28284a99fc6f6efb2618ad8d91699cad46b8 (patch) | |
tree | a55c0bfd8d752fc7755a521465f15b13b74d1b4e /source3/rpcclient/rpcclient.c | |
parent | 85d3b74844453bcfa0bb46f1c28aab2ae40d0d39 (diff) | |
download | samba-568f28284a99fc6f6efb2618ad8d91699cad46b8.tar.gz samba-568f28284a99fc6f6efb2618ad8d91699cad46b8.tar.xz samba-568f28284a99fc6f6efb2618ad8d91699cad46b8.zip |
r14399: Fix deadcode coverity bug #3.
Jeremy.
(This used to be commit 3799f18b356934592206679310e6e409c0d1ca0f)
Diffstat (limited to 'source3/rpcclient/rpcclient.c')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 4639b315d15..50ddbd405ba 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 */ |