diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2017-02-23 07:21:41 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2017-02-23 07:21:41 (GMT) |
commit | 4b5e05c084f93c35dae946c2c9e814d565a613b0 (patch) | |
tree | 634c5cb617eb9a63dc7f5cf8487f30fef81321f1 /test/cache_api.c | |
parent | 2c2fb928daa8fa82930f78d00f9ee0dcad70d35a (diff) | |
download | hdf5-4b5e05c084f93c35dae946c2c9e814d565a613b0.zip hdf5-4b5e05c084f93c35dae946c2c9e814d565a613b0.tar.gz hdf5-4b5e05c084f93c35dae946c2c9e814d565a613b0.tar.bz2 |
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..6c43796 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() */ |