diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-10-28 22:34:51 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-10-29 06:50:37 (GMT) |
commit | 2266ee56c38685910e9cb7517307448bc8f68a23 (patch) | |
tree | ea61d7367f8ef92a493af2874f843453e6bbc858 /src/H5FDros3.c | |
parent | 313a8c8546b3b975fba722b015c8c8269dd240cb (diff) | |
download | hdf5-2266ee56c38685910e9cb7517307448bc8f68a23.zip hdf5-2266ee56c38685910e9cb7517307448bc8f68a23.tar.gz hdf5-2266ee56c38685910e9cb7517307448bc8f68a23.tar.bz2 |
Fixes minor issues in various virtual file drivers
- HDFS VFD files now ignored in the Autotools when the HDFS VFD is not
being built.
- All VFD init code uses idiomatic H5I_INVALID_HID instead of -1
or FAIL.
- The HDFS VFD now includes H5FDdrvr_module.h in the right place.
- The HDFS tests in test/hdfs.c no longer pass NULL to VERIFY macros, which
raised warnings.
- Minor tweaks to fix const, unused variables, etc. warnings in
several VFDs.
Diffstat (limited to 'src/H5FDros3.c')
-rw-r--r-- | src/H5FDros3.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5FDros3.c b/src/H5FDros3.c index fa41b6f..cc27fd0 100644 --- a/src/H5FDros3.c +++ b/src/H5FDros3.c @@ -320,7 +320,7 @@ H5FD_ros3_init(void) unsigned int bin_i; #endif - FUNC_ENTER_NOAPI(FAIL) + FUNC_ENTER_NOAPI(H5I_INVALID_HID) #if ROS3_DEBUG HDfprintf(stdout, "H5FD_ros3_init() called.\n"); @@ -340,7 +340,6 @@ H5FD_ros3_init(void) } #endif - /* Set return value */ ret_value = H5FD_ROS3_g; done: |