summaryrefslogtreecommitdiffstats
path: root/src/H5Odtype.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-11-28 20:09:36 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-11-28 20:09:36 (GMT)
commitac955b2ccc313066ff83d6e1a9a8bbff596b963c (patch)
tree71fbe1be17fbf62024b6fc67659f542916019982 /src/H5Odtype.c
parentbfb94f9db6b903a5ac745b1fb6ab44b63101cebc (diff)
downloadhdf5-ac955b2ccc313066ff83d6e1a9a8bbff596b963c.zip
hdf5-ac955b2ccc313066ff83d6e1a9a8bbff596b963c.tar.gz
hdf5-ac955b2ccc313066ff83d6e1a9a8bbff596b963c.tar.bz2
[svn-r3013] Purpose:
Code cleanup Description: Cleaned up a few warnings which cropped up with different configure switches. Platforms tested: FreeBSD 4.2 (hawkwind)
Diffstat (limited to 'src/H5Odtype.c')
-rw-r--r--src/H5Odtype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Odtype.c b/src/H5Odtype.c
index 5acec69..b18c138 100644
--- a/src/H5Odtype.c
+++ b/src/H5Odtype.c
@@ -201,10 +201,10 @@ H5O_dtype_decode_helper(H5F_t *f, const uint8_t **pp, H5T_t *dt)
"memory allocation failed");
}
for (i = 0; i < dt->u.compnd.nmembs; i++) {
- intn ndims; /* Number of dimensions of the array field */
+ intn ndims=0; /* Number of dimensions of the array field */
hsize_t dim[H5O_LAYOUT_NDIMS]; /* Dimensions of the array */
int perm[H5O_LAYOUT_NDIMS]; /* Dimension permutations */
- uintn perm_word; /* Dimension permutation information */
+ uintn perm_word=0; /* Dimension permutation information */
H5T_t *array_dt; /* Temporary pointer to the array datatype */
H5T_t *temp_type; /* Temporary pointer to the field's datatype */