diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-05-25 10:45:53 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2017-05-25 10:45:53 (GMT) |
commit | 946fd98b8d5b653b89cfdce279195810f389dedf (patch) | |
tree | 6d66fbbc5154e74473cda94b8247464c2325423d /test/plugin.c | |
parent | 710ed6d10a965346ff6e41cc075587c8cf91f08c (diff) | |
download | hdf5-946fd98b8d5b653b89cfdce279195810f389dedf.zip hdf5-946fd98b8d5b653b89cfdce279195810f389dedf.tar.gz hdf5-946fd98b8d5b653b89cfdce279195810f389dedf.tar.bz2 |
Fixed many minor warnings.
Diffstat (limited to 'test/plugin.c')
-rw-r--r-- | test/plugin.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/plugin.c b/test/plugin.c index 8b4324d..1254e9a 100644 --- a/test/plugin.c +++ b/test/plugin.c @@ -574,7 +574,9 @@ test_noread_with_filters(hid_t file) /* disable filter plugin */ if(H5PLget_loading_state(&plugin_state) < 0) TEST_ERROR - plugin_state = plugin_state & ~H5PL_FILTER_PLUGIN; + + plugin_state = plugin_state & (unsigned)(~H5PL_FILTER_PLUGIN); + if(H5PLset_loading_state(plugin_state) < 0) TEST_ERROR if((dset = H5Dopen2(file, DSET_DYNLIB1_NAME, H5P_DEFAULT)) < 0) TEST_ERROR @@ -672,8 +674,8 @@ static herr_t test_groups_with_filters(hid_t file) { herr_t ret_value = -1; - hid_t gid; - hid_t group; + hid_t gid = -1; + hid_t group = -1; int i; char gname[256]; |