From aee97b2849f2d91cbb10393bfb77b6aa8b04edc2 Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Fri, 3 Dec 2021 10:21:53 +0100 Subject: Remove unused variable --- plugins-root/check_icmp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index 783b85d1..7a3d7464 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c @@ -468,7 +468,6 @@ main(int argc, char **argv) /* Parse protocol arguments first */ for(i = 1; i < argc; i++) { while((arg = getopt(argc, argv, opts_str)) != EOF) { - unsigned short size; switch(arg) { case '4': if (address_family != -1) @@ -491,10 +490,10 @@ main(int argc, char **argv) /* Reset argument scanning */ optind = 1; + unsigned short size; /* parse the arguments */ for(i = 1; i < argc; i++) { while((arg = getopt(argc, argv, opts_str)) != EOF) { - unsigned short size; switch(arg) { case 'v': debug++; -- cgit v1.2.3-74-g34f1