summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-08-20 15:15:25 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-08-20 15:15:25 (GMT)
commit20c9e7bc0600d4662f1a465dd696e08b9412d89e (patch)
tree97df51a2b7d9dcadd086e140407e46263fd8be6a /tools/lib
parent96e92e0a4c697e4ce08bdcc289d907d41d9aad0a (diff)
downloadhdf5-20c9e7bc0600d4662f1a465dd696e08b9412d89e.zip
hdf5-20c9e7bc0600d4662f1a465dd696e08b9412d89e.tar.gz
hdf5-20c9e7bc0600d4662f1a465dd696e08b9412d89e.tar.bz2
[svn-r11275] Purpose:
cleanup Description: Disable the debug printout. Platforms tested: heping pp. Misc. update:
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/h5diff.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c
index 7209e14..c1f45c7 100644
--- a/tools/lib/h5diff.c
+++ b/tools/lib/h5diff.c
@@ -20,13 +20,19 @@
/*
* Debug printf macros. The prefix allows output filtering by test scripts.
*/
+#ifdef debug
#define h5diffdebug(x) fprintf(stderr, "h5diff debug: " x)
#define h5diffdebug2(x1, x2) fprintf(stderr, "h5diff debug: " x1, x2)
#define h5diffdebug3(x1, x2, x3) fprintf(stderr, "h5diff debug: " x1, x2, x3)
#define h5diffdebug4(x1, x2, x3, x4) fprintf(stderr, "h5diff debug: " x1, x2, x3, x4)
#define h5diffdebug5(x1, x2, x3, x4, x5) fprintf(stderr, "h5diff debug: " x1, x2, x3, x4, x5)
-#define h5diffdebug6(x1, x2, x3, x4, x5, x6) fprintf(stderr, "h5diff debug: " x1, x2, x3, x4, x5, x6)
-
+#else
+#define h5diffdebug(x)
+#define h5diffdebug2(x)
+#define h5diffdebug3(x)
+#define h5diffdebug4(x)
+#define h5diffdebug5(x)
+#endif
/*-------------------------------------------------------------------------