test/testframe.c

- initialize 'ret_value' in 'TestPrintf()' and 'TestErrPrintf()'
This commit is contained in:
2015-07-02 15:57:05 +02:00
parent 9fb11ca838
commit 877b611758
+2 -2
View File
@@ -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++;