diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-08-08 17:52:17 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-08-08 17:52:17 (GMT) |
commit | 6680e94aebf3f7b2929c740c7951b4bcf3f9b555 (patch) | |
tree | 6f0d4a47c1ad88413ab94574cd2e8eac75253214 /src/H5T.c | |
parent | d8397a6f426227d09d20e647ce8b12b8c6295b2d (diff) | |
download | hdf5-6680e94aebf3f7b2929c740c7951b4bcf3f9b555.zip hdf5-6680e94aebf3f7b2929c740c7951b4bcf3f9b555.tar.gz hdf5-6680e94aebf3f7b2929c740c7951b4bcf3f9b555.tar.bz2 |
[svn-r5843] Purpose:
Code cleanup
Description:
Clean up a few warnings which were showing up with --enable-production
turned on.
Platforms tested:
FreeBSD 4.6 (sleipnir) serial & parallel
Diffstat (limited to 'src/H5T.c')
-rw-r--r-- | src/H5T.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6612,7 +6612,7 @@ char * H5T_enum_nameof(H5T_t *dt, void *value, char *name/*out*/, size_t size) { int lt, md, rt; /*indices for binary search */ - int cmp; /*comparison result */ + int cmp=(-1); /*comparison result */ char *ret_value; /* Return value */ FUNC_ENTER_NOAPI(H5T_enum_nameof, NULL); @@ -6686,7 +6686,7 @@ herr_t H5T_enum_valueof(H5T_t *dt, const char *name, void *value/*out*/) { int lt, md, rt; /*indices for binary search */ - int cmp; /*comparison result */ + int cmp=(-1); /*comparison result */ herr_t ret_value=SUCCEED; /* Return value */ FUNC_ENTER_NOAPI(H5T_enum_valueof, FAIL); |