svn commit: samba r14399 - in branches/SAMBA_3_0/source/rpcclient: .

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


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

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

Log:
Fix deadcode coverity bug #3.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/rpcclient/rpcclient.c


Changeset:
Modified: branches/SAMBA_3_0/source/rpcclient/rpcclient.c
===================================================================
--- branches/SAMBA_3_0/source/rpcclient/rpcclient.c	2006-03-14 20:37:30 UTC (rev 14398)
+++ branches/SAMBA_3_0/source/rpcclient/rpcclient.c	2006-03-14 21:01:30 UTC (rev 14399)
@@ -685,7 +685,6 @@
 
  int main(int argc, char *argv[])
 {
-	BOOL 			interactive = True;
 	int 			opt;
 	static char		*cmdstr = NULL;
 	const char *server;
@@ -719,9 +718,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