summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-08-08 17:52:17 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-08-08 17:52:17 (GMT)
commit6680e94aebf3f7b2929c740c7951b4bcf3f9b555 (patch)
tree6f0d4a47c1ad88413ab94574cd2e8eac75253214 /src/H5T.c
parentd8397a6f426227d09d20e647ce8b12b8c6295b2d (diff)
downloadhdf5-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5T.c b/src/H5T.c
index 34b45c0..ab48191 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -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);