summaryrefslogtreecommitdiffstats
path: root/test/set_extent.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-12-29 21:40:37 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-12-29 21:40:37 (GMT)
commite1590a56b120222d6128b35d6213f4bbbcbf99e8 (patch)
treef0be54dda35a19f19450d993de454226fb10a2bd /test/set_extent.c
parentb962f97e1ad6ca93d5a5c45f5511ce84256413ee (diff)
downloadhdf5-e1590a56b120222d6128b35d6213f4bbbcbf99e8.zip
hdf5-e1590a56b120222d6128b35d6213f4bbbcbf99e8.tar.gz
hdf5-e1590a56b120222d6128b35d6213f4bbbcbf99e8.tar.bz2
[svn-r16227] cleaned some linux warnings
tested: linux
Diffstat (limited to 'test/set_extent.c')
-rw-r--r--test/set_extent.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/set_extent.c b/test/set_extent.c
index c3979dd..16053f2 100644
--- a/test/set_extent.c
+++ b/test/set_extent.c
@@ -1869,7 +1869,7 @@ error:
* test usage with external storage
*-------------------------------------------------------------------------
*/
-static int test_external()
+static int test_external( void )
{
hid_t fid;
@@ -1879,7 +1879,6 @@ static int test_external()
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 */
- hsize_t dims_c[RANK2] = {2,2}; /* chunk dimensions */
hsize_t dims_r[RANK2]; /* read dimensions */
hsize_t maxdims[RANK2] = {DIME0,DIM1}; /* only the first dimension can be extendible */
int buf_o[DIM0][DIM1]; /* original buffer, for writing */
@@ -2255,7 +2254,6 @@ static int test_layouts( H5D_layout_t layout )
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 */
- hsize_t dims_c[RANK2] = {2,2}; /* chunk dimensions */
hsize_t dims_r[RANK2]; /* read dimensions */
int buf_o[DIM0][DIM1];
int buf_r[DIM0][DIM1];