summaryrefslogtreecommitdiffstats
path: root/misc/lnstat.c
diff options
context:
space:
mode:
authorosdl.net!shemminger <osdl.net!shemminger>2005-03-18 19:40:19 +0000
committerosdl.net!shemminger <osdl.net!shemminger>2005-03-18 19:40:19 +0000
commite796b9587a32ae0b249f2f2268a4da4ddcdb8932 (patch)
treeaf860661414beea50ff317e30976c0e4d98922a8 /misc/lnstat.c
parenta711b2ef98362abe03187765ea73d2a061f676e5 (diff)
Fix compile warning.
(Logical change 1.172)
Diffstat (limited to 'misc/lnstat.c')
-rw-r--r--misc/lnstat.c5
1 files 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;