summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-28 18:56:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:05 -0500
commitb2ddb4626c786fda53dc2bb0c1ec1b8d72c15b40 (patch)
treeeb7a5c9a8baa9c2d970bdf34e6f633b8e3fb8b5d
parent4471ce9a68411cc9cdf5eded5e36bab2a27ed42e (diff)
downloadsamba-b2ddb4626c786fda53dc2bb0c1ec1b8d72c15b40.tar.gz
samba-b2ddb4626c786fda53dc2bb0c1ec1b8d72c15b40.tar.bz2
samba-b2ddb4626c786fda53dc2bb0c1ec1b8d72c15b40.zip
r16640: Fix bug #3886 reported by jason@ncac.gwu.edu.
Jeremy. (This used to be commit 76cc25a37e145fb48a8a81df37e790690b5dceac)
-rw-r--r--source3/utils/eventlogadm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/utils/eventlogadm.c b/source3/utils/eventlogadm.c
index 8cf79fcf14..3a1a56cf3a 100644
--- a/source3/utils/eventlogadm.c
+++ b/source3/utils/eventlogadm.c
@@ -161,7 +161,6 @@ int main( int argc, char *argv[] )
{
int opt, rc;
char *exename;
- char *srcname, *eventlogname;
fstring opname;
@@ -173,7 +172,6 @@ int main( int argc, char *argv[] )
lp_load( dyn_CONFIGFILE, True, False, False, True);
exename = argv[0];
- srcname = NULL;
/* default */
@@ -211,7 +209,6 @@ int main( int argc, char *argv[] )
}
/* 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,