From d4a781817cbe1c6168e0687aea968b7a6f348abe Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 10 Sep 2013 20:52:13 +0200 Subject: Fix GCC's -Wuninitialized warnings Fix the issues found by GCC when the -Wuninitialized flag is specified. --- plugins/check_procs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/check_procs.c') 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) int crit = 0; /* number of processes in crit state */ int i = 0, j = 0; int result = STATE_UNKNOWN; - int ret; + int ret = 0; output chld_out, chld_err; setlocale (LC_ALL, ""); -- cgit v1.2.3-74-g34f1