diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-11-03 23:30:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-03 23:30:08 (GMT) |
commit | 018f093c096cca8b3965eb17afa01f5637317995 (patch) | |
tree | 6bd8c321decf7e544dd2dbf86976c51dc8407e92 /config/cmake/HDF5DeveloperBuild.cmake | |
parent | 40a0e3c7b5b30912ddbe4cf58f289575d63fef12 (diff) | |
download | hdf5-018f093c096cca8b3965eb17afa01f5637317995.zip hdf5-018f093c096cca8b3965eb17afa01f5637317995.tar.gz hdf5-018f093c096cca8b3965eb17afa01f5637317995.tar.bz2 |
Removes the memory allocation sanity checks feature (#2218)
* Removes the memory allocation sanity checks feature
* Committing clang-format changes
* Removes zero size checks for H5MM_(c|m)alloc()
* Explicitly return NULL when size == 0 in H5allocate_memory()
* Committing clang-format changes
* Format fix
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'config/cmake/HDF5DeveloperBuild.cmake')
-rw-r--r-- | config/cmake/HDF5DeveloperBuild.cmake | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/config/cmake/HDF5DeveloperBuild.cmake b/config/cmake/HDF5DeveloperBuild.cmake index 53c03de..40efb0e 100644 --- a/config/cmake/HDF5DeveloperBuild.cmake +++ b/config/cmake/HDF5DeveloperBuild.cmake @@ -194,10 +194,3 @@ endif () # Enable strict checking of the file format list (APPEND HDF5_DEVELOPER_DEFS H5_STRICT_FORMAT_CHECKS) - -# Enable printing of library memory stats -option (HDF5_ENABLE_MEMORY_STATS "Enable printing of library memory stats" OFF) -mark_as_advanced (HDF5_ENABLE_MEMORY_STATS) -if (HDF5_ENABLE_MEMORY_STATS) - list (APPEND HDF5_DEVELOPER_DEFS H5MM_PRINT_MEMORY_STATS) -endif () |