From 0e0c517b19c7a97cb4efec0731c40caf57d1a340 Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 31 Oct 2024 03:44:06 +0100 Subject: check_game: linter fixes diff --git a/plugins/check_game.c b/plugins/check_game.c index 80a90e4..619277e 100644 --- a/plugins/check_game.c +++ b/plugins/check_game.c @@ -37,7 +37,7 @@ const char *email = "devel@monitoring-plugins.org"; #include "utils.h" #include "runcmd.h" -static int process_arguments(int, char **); +static int process_arguments(int /*argc*/, char ** /*argv*/); static int validate_arguments(void); static void print_help(void); void print_usage(void); @@ -64,7 +64,8 @@ static int qstat_ping_field = -1; int main(int argc, char **argv) { char *command_line; int result = STATE_UNKNOWN; - char *p, *ret[QSTAT_MAX_RETURN_ARGS]; + char *p; + char *ret[QSTAT_MAX_RETURN_ARGS]; size_t i = 0; output chld_out; -- cgit v0.10-9-g596f