summaryrefslogtreecommitdiffstats
path: root/c++/test/tattr.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/tattr.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/tattr.cpp')
-rw-r--r--c++/test/tattr.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/c++/test/tattr.cpp b/c++/test/tattr.cpp
index 315abeb..ae1d986 100644
--- a/c++/test/tattr.cpp
+++ b/c++/test/tattr.cpp
@@ -37,7 +37,6 @@ using namespace H5;
#include "h5cpputil.h" // C++ utilility header file
const string FILENAME("tattr.h5");
-const size_t ATTR_NAME_LEN = 16;
const size_t ATTR_MAX_DIMS = 7;
const string ATTR_TMP_NAME("temp_name");
@@ -556,9 +555,7 @@ test_attr_compound_read(void)
static void
test_attr_scalar_write(void)
{
- hsize_t dims1[] = {SPACE1_DIM1, SPACE1_DIM2, SPACE1_DIM3};
-
- // Output message about test being performed
+ // Output message about test being performed
MESSAGE(5, ("Testing Basic Scalar Attribute Writing Functions\n"));
try {