summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-08 19:05:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-08 19:05:05 (GMT)
commit6f26af4580e1a114c75f3e6cf7f3f742574900b8 (patch)
tree8397a58e0c37cc0a25c1bdb0984097bdf8bd60d7
parenteaad7b0f211a9cb6876879fc98d8f12e739a7b60 (diff)
downloadhdf5-6f26af4580e1a114c75f3e6cf7f3f742574900b8.zip
hdf5-6f26af4580e1a114c75f3e6cf7f3f742574900b8.tar.gz
hdf5-6f26af4580e1a114c75f3e6cf7f3f742574900b8.tar.bz2
[svn-r7310] Purpose:
Code cleanup Description: Chase error API revision by passing H5E_DEFAULT to H5Eclear() Platforms tested: h5committested
-rw-r--r--test/ttsafe.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/ttsafe.h b/test/ttsafe.h
index 967e7e3..ce763db 100644
--- a/test/ttsafe.h
+++ b/test/ttsafe.h
@@ -51,7 +51,7 @@ extern int Verbosity;
num_errs++; \
H5Eprint (stdout); \
} \
- H5Eclear(); \
+ H5Eclear(H5E_DEFAULT); \
} while(0)
#define CHECK_I(ret,where) { \
@@ -65,7 +65,7 @@ extern int Verbosity;
H5Eprint (stdout); \
num_errs++; \
} \
- H5Eclear (); \
+ H5Eclear(H5E_DEFAULT); \
}
#define CHECK_PTR(ret,where) { \
@@ -79,7 +79,7 @@ extern int Verbosity;
H5Eprint (stdout); \
num_errs++; \
} \
- H5Eclear (); \
+ H5Eclear(H5E_DEFAULT); \
}
/* Used to make certain a return value _is_ a value */
@@ -94,7 +94,7 @@ extern int Verbosity;
H5Eprint (stdout); \
num_errs++; \
} \
- H5Eclear(); \
+ H5Eclear(H5E_DEFAULT); \
} while(0)
/* Used to document process through a test and to check for errors */
@@ -110,7 +110,7 @@ extern int Verbosity;
H5Eprint (stdout); \
num_errs++; \
} \
- H5Eclear(); \
+ H5Eclear(H5E_DEFAULT); \
} while(0)
/* Used to document process through a test */