diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2008-02-18 01:52:41 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2008-02-18 01:52:41 (GMT) |
commit | 2846b798ce6c0b2cca17d5c868dd8be31260aa6d (patch) | |
tree | e83f7b0d5f51e3b6a4e61989a7186d7954121781 /c++ | |
parent | 56060e7ec26abf1deb94ae9ce4adef4122f2702d (diff) | |
download | hdf5-2846b798ce6c0b2cca17d5c868dd8be31260aa6d.zip hdf5-2846b798ce6c0b2cca17d5c868dd8be31260aa6d.tar.gz hdf5-2846b798ce6c0b2cca17d5c868dd8be31260aa6d.tar.bz2 |
[svn-r14593] Purpose: Removing warnings
Description:
Removed several warnings of unused terms.
Platforms tested:
Linux 2.6 (smirom) - very minor
Diffstat (limited to 'c++')
-rw-r--r-- | c++/test/ttypes.cpp | 5 | ||||
-rw-r--r-- | c++/test/tvlstr.cpp | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/c++/test/ttypes.cpp b/c++/test/ttypes.cpp index ac468c4..557f400 100644 --- a/c++/test/ttypes.cpp +++ b/c++/test/ttypes.cpp @@ -144,8 +144,6 @@ static void test_classes() */ static void test_copy() { - hid_t a_copy; - herr_t status; SUBTEST("DataType::copy() and DataType::operator="); try { @@ -213,7 +211,6 @@ static void test_query() long c; double d; } s_type_t; - char filename[1024]; short enum_val; // Output message about test being performed @@ -388,11 +385,9 @@ static void test_transient () const H5std_string filename2("dtypes2.h5"); static void test_named () { - herr_t status; static hsize_t ds_size[2] = {10, 20}; hsize_t i; unsigned attr_data[10][20]; - char filename[1024]; SUBTEST("Named datatypes"); try { diff --git a/c++/test/tvlstr.cpp b/c++/test/tvlstr.cpp index 469e861..007ab10 100644 --- a/c++/test/tvlstr.cpp +++ b/c++/test/tvlstr.cpp @@ -527,7 +527,6 @@ static void test_compact_vlstring() *------------------------------------------------------------------------- */ // String for testing attributes -static const char *string_att = "This is the string for the attribute"; static char *string_att_write=NULL; // Info for a string attribute |