diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2012-09-27 15:19:29 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2012-09-27 15:19:29 (GMT) |
commit | 31e931ce260841714a81af7e98fb3f926651b0db (patch) | |
tree | d0d8dc884aeb921749167a553c015b25f03cc488 /hl | |
parent | 06e9ab4420adb7a6ae04514adcb134d27114e410 (diff) | |
download | hdf5-31e931ce260841714a81af7e98fb3f926651b0db.zip hdf5-31e931ce260841714a81af7e98fb3f926651b0db.tar.gz hdf5-31e931ce260841714a81af7e98fb3f926651b0db.tar.bz2 |
[svn-r22821] 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.
Diffstat (limited to 'hl')
-rw-r--r-- | hl/test/test_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/test/test_image.c b/hl/test/test_image.c index bd4a947..7740a4d 100644 --- a/hl/test/test_image.c +++ b/hl/test/test_image.c @@ -688,7 +688,7 @@ static int test_generate(void) goto out; /* Indicate success */ - retval = 0; + return 0; /* error zone, gracefully close */ out: |