svn commit: samba r14400 - in trunk/source/rpcclient: .

jra at samba.org jra at samba.org
Tue Mar 14 21:01:40 GMT 2006


Author: jra
Date: 2006-03-14 21:01:35 +0000 (Tue, 14 Mar 2006)
New Revision: 14400

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14400

Log:
Fix deadcode coverity bug #3.
Jeremy.

Modified:
   trunk/source/rpcclient/rpcclient.c


Changeset:
Modified: trunk/source/rpcclient/rpcclient.c
===================================================================
--- trunk/source/rpcclient/rpcclient.c	2006-03-14 21:01:30 UTC (rev 14399)
+++ trunk/source/rpcclient/rpcclient.c	2006-03-14 21:01:35 UTC (rev 14400)
@@ -687,7 +687,6 @@
 
  int main(int argc, char *argv[])
 {
-	BOOL 			interactive = True;
 	int 			opt;
 	static char		*cmdstr = NULL;
 	const char *server;
@@ -721,9 +720,7 @@
 
 	/* 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 */
 



More information about the samba-cvs mailing list