diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-02-19 13:34:29 (GMT) |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-02-19 13:34:29 (GMT) |
commit | 423284edfa980fc3fdb51ab20af96685a988ba97 (patch) | |
tree | 66fcb2167046b317221a677cc5154e2ed2863b72 /plugins-scripts/utils.pm.in | |
parent | d3a4bad51d72a3c5bcc06ceb5e0a823dcc24bf49 (diff) | |
download | monitoring-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 'plugins-scripts/utils.pm.in')
0 files changed, 0 insertions, 0 deletions