From a22e32d45ac725db5ba89465a0b64ff033239b24 Mon Sep 17 00:00:00 2001 From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Thu, 31 Oct 2002 16:38:30 +0000 Subject: [PATCH] Removed redundant variable git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@188 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- sm5/smartd.c | 3 +-- sm5/smartd.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sm5/smartd.c b/sm5/smartd.c index 168e79adc..617283a1a 100644 --- a/sm5/smartd.c +++ b/sm5/smartd.c @@ -44,7 +44,7 @@ // CVS ID strings extern const char *CVSid1, *CVSid2; -const char *CVSid6="$Id: smartd.c,v 1.49 2002/10/30 19:16:42 ballen4705 Exp $" +const char *CVSid6="$Id: smartd.c,v 1.50 2002/10/31 16:38:30 ballen4705 Exp $" CVSID1 CVSID2 CVSID3 CVSID4 CVSID7; // global variable used for control of printing, passing arguments, etc. @@ -819,7 +819,6 @@ int parsetoken(char *token,cfgfile *cfg){ return 1; } -int numtokens=0; int parseconfigline(int entry, int lineno,char *line){ char *token,*copy; char *delim=" \n\t"; diff --git a/sm5/smartd.cpp b/sm5/smartd.cpp index c0561a15c..2c1ca9829 100644 --- a/sm5/smartd.cpp +++ b/sm5/smartd.cpp @@ -44,7 +44,7 @@ // CVS ID strings extern const char *CVSid1, *CVSid2; -const char *CVSid6="$Id: smartd.cpp,v 1.49 2002/10/30 19:16:42 ballen4705 Exp $" +const char *CVSid6="$Id: smartd.cpp,v 1.50 2002/10/31 16:38:30 ballen4705 Exp $" CVSID1 CVSID2 CVSID3 CVSID4 CVSID7; // global variable used for control of printing, passing arguments, etc. @@ -819,7 +819,6 @@ int parsetoken(char *token,cfgfile *cfg){ return 1; } -int numtokens=0; int parseconfigline(int entry, int lineno,char *line){ char *token,*copy; char *delim=" \n\t"; -- GitLab