summaryrefslogtreecommitdiffstats
path: root/c++/test/th5s.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2005-07-25 03:40:21 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2005-07-25 03:40:21 (GMT)
commit52f78a12d5874bafcc9c1ed13891331a1c55c14b (patch)
tree0a5698f6fb116afa5dfccfb49c38496026541efb /c++/test/th5s.cpp
parentfab172d704065dba31fbf34d3fe7e56c3e63fe36 (diff)
downloadhdf5-52f78a12d5874bafcc9c1ed13891331a1c55c14b.zip
hdf5-52f78a12d5874bafcc9c1ed13891331a1c55c14b.tar.gz
hdf5-52f78a12d5874bafcc9c1ed13891331a1c55c14b.tar.bz2
[svn-r11152] Purpose: Removed some compiler warnings
Description: Removed defined but unused variables. Platforms tested: Linux 2.4 (heping) IRIX64 with -n32 (modi4) Linux 2.4 w/PGI (colonelk)
Diffstat (limited to 'c++/test/th5s.cpp')
-rw-r--r--c++/test/th5s.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/test/th5s.cpp b/c++/test/th5s.cpp
index 5c53963..a1b0b46 100644
--- a/c++/test/th5s.cpp
+++ b/c++/test/th5s.cpp
@@ -65,7 +65,6 @@ unsigned space3_data=65;
/* Scalar dataset with compound datatype */
const string SPACE4_NAME("Scalar2");
-const int SPACE4_RANK = 0;
const string SPACE4_FIELDNAME1("c1");
const string SPACE4_FIELDNAME2("u");
const string SPACE4_FIELDNAME3("f");
@@ -137,6 +136,7 @@ test_h5s_basic(void)
int ndims; // Number of dimensions
hsize_t tdims[4]; // Dimension array to test with
ndims = sid1.getSimpleExtentDims( tdims );
+ verify_val(ndims, SPACE1_RANK, "DataSpace::getSimpleExtentDims", __LINE__, __FILE__);
verify_val(HDmemcmp(tdims, dims1, SPACE1_RANK * sizeof(unsigned)), 0,
"DataSpace::getSimpleExtentDims", __LINE__, __FILE__);