summaryrefslogtreecommitdiffstats
path: root/plugins/check_mrtgtraf.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-10 06:53:22 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-10 06:53:22 (GMT)
commitf4f92be60c94fd4e0dd4b2b4b3101543eedb706a (patch)
tree28d25bd0ab624d82435823c940a186370947ad4d /plugins/check_mrtgtraf.c
parentcbf702f51f839af5a8e9c66bdae7d6a3dc363ace (diff)
downloadmonitoring-plugins-f4f92be60c94fd4e0dd4b2b4b3101543eedb706a.tar.gz
the last round of pedantic compiler warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@676 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_mrtgtraf.c')
-rw-r--r--plugins/check_mrtgtraf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_mrtgtraf.c b/plugins/check_mrtgtraf.c
index be2f562..93b2c1d 100644
--- a/plugins/check_mrtgtraf.c
+++ b/plugins/check_mrtgtraf.c
@@ -201,7 +201,7 @@ process_arguments (int argc, char **argv)
201{ 201{
202 int c; 202 int c;
203 203
204 int option_index = 0; 204 int option = 0;
205 static struct option longopts[] = { 205 static struct option longopts[] = {
206 {"logfile", required_argument, 0, 'F'}, 206 {"logfile", required_argument, 0, 'F'},
207 {"expires", required_argument, 0, 'e'}, 207 {"expires", required_argument, 0, 'e'},
@@ -228,7 +228,7 @@ process_arguments (int argc, char **argv)
228 } 228 }
229 229
230 while (1) { 230 while (1) {
231 c = getopt_long (argc, argv, "hVF:e:a:c:w:", longopts, &option_index); 231 c = getopt_long (argc, argv, "hVF:e:a:c:w:", longopts, &option);
232 232
233 if (c == -1 || c == EOF) 233 if (c == -1 || c == EOF)
234 break; 234 break;