mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r22815] Issue 8164 - test_image.c printed an extra "FAILED" after it succeeded. A test function doesn't return 0 after it succeeds.
It goes down to the error handling branch and prints "FAILED". The fix is adding "return 0;" in the end of the function. Tested on jam - simple change.
This commit is contained in:
parent
392b7d3249
commit
4f9adf902b
@ -676,7 +676,7 @@ static int test_generate(void)
|
||||
goto out;
|
||||
|
||||
/* Indicate success */
|
||||
retval = 0;
|
||||
return 0;
|
||||
|
||||
/* error zone, gracefully close */
|
||||
out:
|
||||
|
Loading…
x
Reference in New Issue
Block a user