diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2012-09-26 20:06:08 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2012-09-26 20:06:08 (GMT) |
commit | 4f9adf902bb5ddbd44910b04ca0a301c869a7d5a (patch) | |
tree | 1b9ae4910f6a15c442fb178e9333896178c4a0ab /hl | |
parent | 392b7d32492eb61da3e3a90ceeeae1eaf06d8b6f (diff) | |
download | hdf5-4f9adf902bb5ddbd44910b04ca0a301c869a7d5a.zip hdf5-4f9adf902bb5ddbd44910b04ca0a301c869a7d5a.tar.gz hdf5-4f9adf902bb5ddbd44910b04ca0a301c869a7d5a.tar.bz2 |
[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.
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 4cef1b4..a4a10e4 100644 --- a/hl/test/test_image.c +++ b/hl/test/test_image.c @@ -676,7 +676,7 @@ static int test_generate(void) goto out; /* Indicate success */ - retval = 0; + return 0; /* error zone, gracefully close */ out: |