summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-03-14 21:01:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:28 -0500
commit568f28284a99fc6f6efb2618ad8d91699cad46b8 (patch)
treea55c0bfd8d752fc7755a521465f15b13b74d1b4e
parent85d3b74844453bcfa0bb46f1c28aab2ae40d0d39 (diff)
downloadsamba-568f28284a99fc6f6efb2618ad8d91699cad46b8.tar.gz
samba-568f28284a99fc6f6efb2618ad8d91699cad46b8.tar.bz2
samba-568f28284a99fc6f6efb2618ad8d91699cad46b8.zip
r14399: Fix deadcode coverity bug #3.
Jeremy. (This used to be commit 3799f18b356934592206679310e6e409c0d1ca0f)
-rw-r--r--source3/rpcclient/rpcclient.c5
1 files changed, 1 insertions, 4 deletions
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 */