diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 03:44:06 +0100 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 03:44:06 +0100 |
commit | 0e0c517b19c7a97cb4efec0731c40caf57d1a340 (patch) | |
tree | c4517f068f60a0a67d008dda4c6a0aa6367d0716 /plugins | |
parent | 8355b9db407f2ca763467efb509de7564f8016a4 (diff) | |
download | monitoring-plugins-0e0c517b19c7a97cb4efec0731c40caf57d1a340.tar.gz |
check_game: linter fixes
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_game.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/check_game.c b/plugins/check_game.c index 80a90e44..619277e7 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 | ||
40 | static int process_arguments(int, char **); | 40 | static int process_arguments(int /*argc*/, char ** /*argv*/); |
41 | static int validate_arguments(void); | 41 | static int validate_arguments(void); |
42 | static void print_help(void); | 42 | static void print_help(void); |
43 | void print_usage(void); | 43 | void print_usage(void); |
@@ -64,7 +64,8 @@ static int qstat_ping_field = -1; | |||
64 | int main(int argc, char **argv) { | 64 | int 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 | ||