summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DaccProp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5DaccProp.cpp')
-rw-r--r--c++/src/H5DaccProp.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/c++/src/H5DaccProp.cpp b/c++/src/H5DaccProp.cpp
index 35c071a..1905f27 100644
--- a/c++/src/H5DaccProp.cpp
+++ b/c++/src/H5DaccProp.cpp
@@ -72,8 +72,7 @@ DSetAccPropList::getConstant()
void
DSetAccPropList::deleteConstants()
{
- if (DEFAULT_ != 0)
- delete DEFAULT_;
+ delete DEFAULT_;
}
//--------------------------------------------------------------------------