summaryrefslogtreecommitdiffstats
path: root/plugins/check_procs.c
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-10 20:52:13 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-10 20:52:13 +0200
commitd4a781817cbe1c6168e0687aea968b7a6f348abe (patch)
tree7981bfe79edf66d9e296b28e90323d04f7287a48 /plugins/check_procs.c
parentcfb50add532c1b5c80ea8214340b0a908a7fab65 (diff)
downloadmonitoring-plugins-d4a781817cbe1c6168e0687aea968b7a6f348abe.tar.gz
Fix GCC's -Wuninitialized warnings
Fix the issues found by GCC when the -Wuninitialized flag is specified.
Diffstat (limited to 'plugins/check_procs.c')
-rw-r--r--plugins/check_procs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index d09bd8b6..d20b027f 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -150,7 +150,7 @@ main (int argc, char **argv)
150 int crit = 0; /* number of processes in crit state */ 150 int crit = 0; /* number of processes in crit state */
151 int i = 0, j = 0; 151 int i = 0, j = 0;
152 int result = STATE_UNKNOWN; 152 int result = STATE_UNKNOWN;
153 int ret; 153 int ret = 0;
154 output chld_out, chld_err; 154 output chld_out, chld_err;
155 155
156 setlocale (LC_ALL, ""); 156 setlocale (LC_ALL, "");