summaryrefslogtreecommitdiffstats
path: root/src/H5FLprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-07-26 04:41:48 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-07-26 04:41:48 (GMT)
commit7a07c6cc133e62f5f00e6a4baf214c9011657800 (patch)
tree8f3407f18b78c8b0283f0663fd0ba0a4ee608212 /src/H5FLprivate.h
parent6543e55efad7ded7f5a0e0dc50786c966aea6b98 (diff)
downloadhdf5-7a07c6cc133e62f5f00e6a4baf214c9011657800.zip
hdf5-7a07c6cc133e62f5f00e6a4baf214c9011657800.tar.gz
hdf5-7a07c6cc133e62f5f00e6a4baf214c9011657800.tar.bz2
[svn-r8946] Purpose:
Code cleanup, sorta Description: Added ifdef sections for "H5_USING_PURIFY" in various places in the code, which are designed to reduce the spurious "uninitialized memory read" warnings from purify which are actually OK. Note that this macro will have to be turned on by adding it to the CFLAGS for the build - I didn't think it was important enough to add a configure flag for. Also, the changes in H5HG.c optimize the walks through the objects in a heap to only look at the 'used' entries instead of all the 'allocated' entries. Platforms tested: Solaris 2.7 (arabica) w/purify Not tested by h5committest
Diffstat (limited to 'src/H5FLprivate.h')
-rw-r--r--src/H5FLprivate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FLprivate.h b/src/H5FLprivate.h
index efcee82..641a630 100644
--- a/src/H5FLprivate.h
+++ b/src/H5FLprivate.h
@@ -35,8 +35,8 @@
/* Private headers needed by this file */
/* Macros for turning off free lists in the library */
-/*#define H5_NO_FREE_LISTS*/
-#ifdef H5_NO_FREE_LISTS
+/* #define H5_NO_FREE_LISTS */
+#if defined H5_NO_FREE_LISTS || defined H5_USING_PURIFY
#define H5_NO_REG_FREE_LISTS
#define H5_NO_ARR_FREE_LISTS
#define H5_NO_SEQ_FREE_LISTS