summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-12-29 21:56:48 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-12-29 21:56:48 (GMT)
commitdc869ba584879f37a3fe5d18be2aef75649fc5fc (patch)
tree8d0ff3c38a5f24ba2d96b90eb5a8f5c9c8ca2b92
parente1590a56b120222d6128b35d6213f4bbbcbf99e8 (diff)
downloadhdf5-dc869ba584879f37a3fe5d18be2aef75649fc5fc.zip
hdf5-dc869ba584879f37a3fe5d18be2aef75649fc5fc.tar.gz
hdf5-dc869ba584879f37a3fe5d18be2aef75649fc5fc.tar.bz2
[svn-r16229] merge 16228
cleaned more linux warnings tested: linux
-rw-r--r--test/set_extent.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/test/set_extent.c b/test/set_extent.c
index 16053f2..e92124e 100644
--- a/test/set_extent.c
+++ b/test/set_extent.c
@@ -287,10 +287,10 @@ static int test_rank2( hbool_t do_compress,
H5D_fill_time_t fill_time)
{
- hid_t fid;
- hid_t did;
- hid_t sid;
- hid_t dcpl;
+ hid_t fid=-1;
+ hid_t did=-1;
+ hid_t sid=-1;
+ hid_t dcpl=-1;
hid_t fcpl;
hsize_t dims_o[RANK2] = {DIM0,DIM1}; /* original dimensions */
hsize_t dims_s[RANK2] = {DIMS0,DIMS1}; /* shrinking dimensions */
@@ -838,10 +838,10 @@ static int test_rank1( hbool_t do_compress,
H5D_fill_time_t fill_time)
{
- hid_t fid;
- hid_t did;
- hid_t sid;
- hid_t dcpl;
+ hid_t fid=-1;
+ hid_t did=-1;
+ hid_t sid=-1;
+ hid_t dcpl=-1;
hid_t fcpl;
hsize_t dims_o[RANK1] = {DIM0}; /* original dimensions */
hsize_t dims_s[RANK1] = {DIMS0}; /* shrinking dimensions */
@@ -1332,10 +1332,10 @@ static int test_rank3( hbool_t do_compress,
H5D_fill_time_t fill_time)
{
- hid_t fid;
- hid_t did;
- hid_t sid;
- hid_t dcpl;
+ hid_t fid=-1;
+ hid_t did=-1;
+ hid_t sid=-1;
+ hid_t dcpl=-1;
hid_t fcpl;
hsize_t dims_o[RANK3] = {DIM0,DIM1,DIM2}; /* original dimensions */
hsize_t dims_s[RANK3] = {DIMS0,DIMS1,DIMS2}; /* shrinking dimensions */
@@ -1872,10 +1872,10 @@ error:
static int test_external( void )
{
- hid_t fid;
- hid_t did;
- hid_t sid;
- hid_t dcpl;
+ hid_t fid=-1;
+ hid_t did=-1;
+ hid_t sid=-1;
+ hid_t dcpl=-1;
hsize_t dims_o[RANK2] = {DIM0,DIM1}; /* original dimensions */
hsize_t dims_s[RANK2] = {DIMS0,DIMS1}; /* shrinking dimensions */
hsize_t dims_e[RANK2] = {DIME0,DIM1}; /* extended dimensions, dimension 1 is the original */
@@ -2247,10 +2247,10 @@ error:
static int test_layouts( H5D_layout_t layout )
{
- hid_t fid;
- hid_t did;
- hid_t sid;
- hid_t dcpl;
+ hid_t fid=-1;
+ hid_t did=-1;
+ hid_t sid=-1;
+ hid_t dcpl=-1;
hsize_t dims_o[RANK2] = {DIM0,DIM1}; /* original dimensions */
hsize_t dims_s[RANK2] = {DIMS0,DIMS1}; /* shrinking dimensions */
hsize_t dims_e[RANK2] = {DIME0,DIME1}; /* extended dimensions */