From 877b61175852694dfc2d91f864f49ae28b52da80 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 2 Jul 2015 15:57:05 +0200 Subject: [PATCH] test/testframe.c - initialize 'ret_value' in 'TestPrintf()' and 'TestErrPrintf()' --- test/testframe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testframe.c b/test/testframe.c index f260a53..41dbf81 100644 --- a/test/testframe.c +++ b/test/testframe.c @@ -528,7 +528,7 @@ int TestPrintf(const char *format, ...) { va_list arglist; - int ret_value; + int ret_value = -1; #if defined(PARALLEL_IO) int nproc; @@ -559,7 +559,7 @@ int TestErrPrintf(const char *format, ...) { va_list arglist; - int ret_value; + int ret_value = -1; /* Increment the error count */ num_errs++;