From 6f26af4580e1a114c75f3e6cf7f3f742574900b8 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 8 Aug 2003 14:05:05 -0500 Subject: [svn-r7310] Purpose: Code cleanup Description: Chase error API revision by passing H5E_DEFAULT to H5Eclear() Platforms tested: h5committested --- test/ttsafe.h | 10 +++++----- 1 file 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 */ -- cgit v0.12