diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2017-02-28 05:45:55 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2017-02-28 05:45:55 (GMT) |
commit | 5db402afbb6be6a4219ccd517d0462c5c6cc26f7 (patch) | |
tree | 9315120be0d040146e0dcec8ced3a25672666c88 /test/cache_api.c | |
parent | e5fb4191de1129f58cc7b9b8ee67f4cec1488f39 (diff) | |
download | hdf5-5db402afbb6be6a4219ccd517d0462c5c6cc26f7.zip hdf5-5db402afbb6be6a4219ccd517d0462c5c6cc26f7.tar.gz hdf5-5db402afbb6be6a4219ccd517d0462c5c6cc26f7.tar.bz2 |
Corrected version of 4b5e05c084f93c35dae946c2c9e814d565a613b0:
Fix some more signed -> unsigned value issues with cache data structures,
also misc. style cleanups. All to align w/incoming page_buffering changes.
Diffstat (limited to 'test/cache_api.c')
-rw-r--r-- | test/cache_api.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/test/cache_api.c b/test/cache_api.c index a0d6e83..710e38f 100644 --- a/test/cache_api.c +++ b/test/cache_api.c @@ -2314,19 +2314,12 @@ main(void) nerrs += 1; } - if ( invalid_configs ) { - + if(invalid_configs) HDfree(invalid_configs); - } - - if ( nerrs > 0 ) { + if(nerrs > 0) return EXIT_FAILURE; - - } else { - + else return EXIT_SUCCESS; - } - } /* main() */ |