svn commit: samba r16640 - in branches/SAMBA_3_0/source/utils: .

jra at samba.org jra at samba.org
Wed Jun 28 18:56:48 GMT 2006


Author: jra
Date: 2006-06-28 18:56:45 +0000 (Wed, 28 Jun 2006)
New Revision: 16640

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

Log:
Fix bug #3886 reported by jason at ncac.gwu.edu.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/utils/eventlogadm.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/eventlogadm.c
===================================================================
--- branches/SAMBA_3_0/source/utils/eventlogadm.c	2006-06-28 18:56:40 UTC (rev 16639)
+++ branches/SAMBA_3_0/source/utils/eventlogadm.c	2006-06-28 18:56:45 UTC (rev 16640)
@@ -161,7 +161,6 @@
 {
 	int opt, rc;
 	char *exename;
-	char *srcname, *eventlogname;
 
 
 	fstring opname;
@@ -173,7 +172,6 @@
 	lp_load( dyn_CONFIGFILE, True, False, False, True);
 
 	exename = argv[0];
-	srcname = NULL;
 
 	/* default */
 
@@ -211,7 +209,6 @@
 	}
 
 	/*  note that the separate command types should call usage if they need to... */
-	eventlogname = *argv;
 	while ( 1 ) {
 		if ( !StrCaseCmp( opname, "addsource" ) ) {
 			rc = DoAddSourceCommand( argc, argv, opt_debug,



More information about the samba-cvs mailing list