diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-06-04 21:29:05 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-06-04 21:29:05 (GMT) |
commit | dd51aae3ca540fc43ca398beaed9f6643b880265 (patch) | |
tree | 5678b1ca712e93c2d7f75daca7a7901dad1a6ff0 /src/H5Spkg.h | |
parent | 56e4d8fb0cbbcd1b1036b361758ff84a40d2cb01 (diff) | |
download | hdf5-dd51aae3ca540fc43ca398beaed9f6643b880265.zip hdf5-dd51aae3ca540fc43ca398beaed9f6643b880265.tar.gz hdf5-dd51aae3ca540fc43ca398beaed9f6643b880265.tar.bz2 |
[svn-r5530] Purpose:
Code Cleanup
Description:
Removed some compiler warnings.
Solution:
In a few cases, NULL was being returned when a FAIL was supposed to
be returned instead. There were some header files which needed to be
included in a few of the sources. A couple of if-then statements had
assignments in the conditional part. The compiler warned that they
should have extra "()"s around them. Made the code check the values
instead.
Platforms tested:
Linux (parallel) Modi4 (parallel)
Diffstat (limited to 'src/H5Spkg.h')
-rw-r--r-- | src/H5Spkg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Spkg.h b/src/H5Spkg.h index 1ab7dd6..aaa1bd3 100644 --- a/src/H5Spkg.h +++ b/src/H5Spkg.h @@ -159,8 +159,11 @@ __DLL__ herr_t H5S_all_select_iterate(void *buf, hid_t type_id, H5S_t *space, H5D_operator_t op, void *operator_data); __DLL__ herr_t H5S_all_select_fill(const void *fill, size_t fill_size, const H5S_t *space, void *buf); +#if 0 + /* declared in H5Sprivate.h */ __DLL__ htri_t H5S_all_opt_possible(const H5S_t *mem_space, const H5S_t *file_space, const unsigned flags); +#endif /* 0 */ /* Hyperslab selection functions */ __DLL__ herr_t H5S_hyper_release(H5S_t *space); |