From e796b9587a32ae0b249f2f2268a4da4ddcdb8932 Mon Sep 17 00:00:00 2001 From: "osdl.net!shemminger" Date: Fri, 18 Mar 2005 19:40:19 +0000 Subject: [PATCH] Fix compile warning. (Logical change 1.172) --- misc/lnstat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/misc/lnstat.c b/misc/lnstat.c index 03e6f3f0..adb91ea1 100644 --- a/misc/lnstat.c +++ b/misc/lnstat.c @@ -242,9 +242,10 @@ int main(int argc, char **argv) while ((c = getopt_long(argc, argv,"Vc:df:h?i:k:s:w:", opts, NULL)) != -1) { + int i, len = 0; + char *tmp, *tok; + switch (c) { - int i, len = 0; - char *tmp, *tok; case 'c': count = strtoul(optarg, NULL, 0); break;