summaryrefslogtreecommitdiffstats
path: root/src/H5Dio.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-10-11 22:24:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-10-11 22:24:35 (GMT)
commit637fa77ea7e720eb7b5a932ceeb0d05beeefb978 (patch)
tree38eb85b7a0489fb9730d86bd042bf402c47bf897 /src/H5Dio.c
parente5413fa795c68dda46c11aee4a3615f52377b0df (diff)
downloadhdf5-637fa77ea7e720eb7b5a932ceeb0d05beeefb978.zip
hdf5-637fa77ea7e720eb7b5a932ceeb0d05beeefb978.tar.gz
hdf5-637fa77ea7e720eb7b5a932ceeb0d05beeefb978.tar.bz2
[svn-r14203] Description:
Break up H5D source file into H5D/H5Dint/H5Ddeprec Attempt fix for "szip noencoder" build failure. Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
Diffstat (limited to 'src/H5Dio.c')
-rw-r--r--src/H5Dio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c
index 259eb06..6a6d532 100644
--- a/src/H5Dio.c
+++ b/src/H5Dio.c
@@ -1345,7 +1345,7 @@ H5D_chunk_read(H5D_io_info_t *io_info, hsize_t nelmts,
size_t request_nelmts; /*requested strip mine */
hsize_t smine_start; /*strip mine start loc */
size_t n, smine_nelmts; /*elements per strip */
- size_t accessed_bytes; /*total accessed size in a chunk */
+ size_t accessed_bytes = 0; /*total accessed size in a chunk */
H5S_sel_iter_t mem_iter; /*memory selection iteration info*/
hbool_t mem_iter_init = FALSE; /*memory selection iteration info has been initialized */
H5S_sel_iter_t bkg_iter; /*background iteration info*/
@@ -2163,7 +2163,7 @@ H5D_compound_opt_read(size_t nelmts, const H5S_t *space,
size_t i;
H5T_t *src, *dst;
- size_t src_stride, dst_stride, type_size;
+ size_t src_stride, dst_stride, type_size = 0;
size_t elmtno; /*element counter */
herr_t ret_value = SUCCEED; /*return value */