summaryrefslogtreecommitdiffstats
path: root/lib/tests/test_utils.t
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-02-19 13:34:29 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-02-19 13:34:29 (GMT)
commit423284edfa980fc3fdb51ab20af96685a988ba97 (patch)
tree66fcb2167046b317221a677cc5154e2ed2863b72 /lib/tests/test_utils.t
parentd3a4bad51d72a3c5bcc06ceb5e0a823dcc24bf49 (diff)
downloadmonitoring-plugins-423284edfa980fc3fdb51ab20af96685a988ba97.tar.gz
check_icmp: Fix compiler warning
This fixes a compiler warning which complains about an uninitialized value for a variable which is then returned. This had no real world impact, since the program would crash in the branch where result is not set. The variable is initialized to "-1" which would be the error for inet_pton.
Diffstat (limited to 'lib/tests/test_utils.t')
0 files changed, 0 insertions, 0 deletions