diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-06 14:05:01 (GMT) |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-06 14:05:01 (GMT) |
commit | 9faa417aeb468be0ebb646ee3fc276014795e76f (patch) | |
tree | 5999e8d3d67ba45728920d94f3fc4ccb5bbac1cb /plugins-root/check_icmp.c | |
parent | aba1ef97f3fdfea191fe8ace2a41551be3dab027 (diff) | |
download | monitoring-plugins-9faa417aeb468be0ebb646ee3fc276014795e76f.tar.gz |
Remove useless return after crash
Diffstat (limited to 'plugins-root/check_icmp.c')
-rw-r--r-- | plugins-root/check_icmp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index ce88bec..c71ea29 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c | |||
@@ -770,7 +770,6 @@ main(int argc, char **argv) | |||
770 | table = malloc(sizeof(struct rta_host *) * targets); | 770 | table = malloc(sizeof(struct rta_host *) * targets); |
771 | if(!table) { | 771 | if(!table) { |
772 | crash("main(): malloc failed for host table"); | 772 | crash("main(): malloc failed for host table"); |
773 | return 3; | ||
774 | } | 773 | } |
775 | 774 | ||
776 | i = 0; | 775 | i = 0; |