From b227a9f85498e724bd82b4d6bd9fccc02f64763a Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 31 Oct 2024 13:42:06 +0100 Subject: check_ping: linter fixes diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 6dfb6b6..4aafaf4 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c @@ -47,8 +47,8 @@ enum { DEFAULT_MAX_PACKETS = 5 /* default no. of ICMP ECHO packets */ }; -static int process_arguments(int, char **); -static int get_threshold(char *, float *, int *); +static int process_arguments(int /*argc*/, char ** /*argv*/); +static int get_threshold(char * /*arg*/, float * /*trta*/, int * /*tpl*/); static int validate_arguments(void); static int run_ping(const char *cmd, const char *addr); static int error_scan(char buf[MAX_INPUT_BUFFER], const char *addr); -- cgit v0.10-9-g596f