summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 02:44:06 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 02:44:06 (GMT)
commit0e0c517b19c7a97cb4efec0731c40caf57d1a340 (patch)
treec4517f068f60a0a67d008dda4c6a0aa6367d0716
parent8355b9db407f2ca763467efb509de7564f8016a4 (diff)
downloadmonitoring-plugins-0e0c517b19c7a97cb4efec0731c40caf57d1a340.tar.gz
check_game: linter fixes
-rw-r--r--plugins/check_game.c5
1 files changed, 3 insertions, 2 deletions
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";
37#include "utils.h" 37#include "utils.h"
38#include "runcmd.h" 38#include "runcmd.h"
39 39
40static int process_arguments(int, char **); 40static int process_arguments(int /*argc*/, char ** /*argv*/);
41static int validate_arguments(void); 41static int validate_arguments(void);
42static void print_help(void); 42static void print_help(void);
43void print_usage(void); 43void print_usage(void);
@@ -64,7 +64,8 @@ static int qstat_ping_field = -1;
64int main(int argc, char **argv) { 64int main(int argc, char **argv) {
65 char *command_line; 65 char *command_line;
66 int result = STATE_UNKNOWN; 66 int result = STATE_UNKNOWN;
67 char *p, *ret[QSTAT_MAX_RETURN_ARGS]; 67 char *p;
68 char *ret[QSTAT_MAX_RETURN_ARGS];
68 size_t i = 0; 69 size_t i = 0;
69 output chld_out; 70 output chld_out;
70 71