diff options
author | Thomas Habets <habets@google.com> | 2019-10-18 14:54:33 +0100 |
---|---|---|
committer | Thomas Habets <habets@google.com> | 2019-10-18 14:54:33 +0100 |
commit | 8b0b4c06943567c675d9569d4b43ed1f7daff2fe (patch) | |
tree | 7d7fde365a533004874cb969e8a964b21ef1e297 | |
parent | db89fea2c011db2b935a79e95400e2de259a4f84 (diff) | |
download | arping-8b0b4c06943567c675d9569d4b43ed1f7daff2fe.tar.gz |
Quiet pedantic compiler warnings
-rw-r--r-- | src/arping.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arping.c b/src/arping.c index 9349608..5473dfb 100644 --- a/src/arping.c +++ b/src/arping.c @@ -1658,6 +1658,7 @@ arping_main(int argc, char **argv) break; case 'h': usage(0); + exit(0); // Needless but shuts up compiler warnings. case 'g': drop_group = optarg; break; @@ -1671,7 +1672,9 @@ arping_main(int argc, char **argv) "purpose)\n"); exit(1); } - case 'I': /* FALL THROUGH */ + ifname = optarg; + break; + case 'I': ifname = optarg; break; case 'm': |