summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins-root/check_icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index 317cd535..e59e92d3 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -1339,7 +1339,7 @@ add_target_ip(char *arg, struct sockaddr_storage *in)
1339static int 1339static int
1340add_target(char *arg) 1340add_target(char *arg)
1341{ 1341{
1342 int error, result; 1342 int error, result = -1;
1343 struct sockaddr_storage ip; 1343 struct sockaddr_storage ip;
1344 struct addrinfo hints, *res, *p; 1344 struct addrinfo hints, *res, *p;
1345 struct sockaddr_in *sin; 1345 struct sockaddr_in *sin;