summaryrefslogtreecommitdiff
path: root/source/utils/eventlogadm.c
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
commit76cc25a37e145fb48a8a81df37e790690b5dceac (patch)
treed7e8e8738a6fd8b82b88e6688ee89d9a3f786f2f /source/utils/eventlogadm.c
parent63ad19f71c6b9474042f4ea9d5859e2849a73da8 (diff)
downloadsamba-76cc25a37e145fb48a8a81df37e790690b5dceac.tar.gz
r16640: Fix bug #3886 reported by jason@ncac.gwu.edu.
Jeremy.
Diffstat (limited to 'source/utils/eventlogadm.c')
-rw-r--r--source/utils/eventlogadm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/utils/eventlogadm.c b/source/utils/eventlogadm.c
index 8cf79fcf14b..3a1a56cf3aa 100644
--- a/source/utils/eventlogadm.c
+++ b/source/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,