summaryrefslogtreecommitdiff
path: root/src/lockedarray.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-19 21:40:21 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-19 21:40:21 +0000
commit0f55757c602c7fec723f73e5820ec936d24cd826 (patch)
tree6bd5d5eb110441ca6ddc4a01d90f4cf2d50af387 /src/lockedarray.h
parent654d24e74c56d240b8d622840c135e22a029636d (diff)
downloadmana-0f55757c602c7fec723f73e5820ec936d24cd826.tar.gz
mana-0f55757c602c7fec723f73e5820ec936d24cd826.tar.bz2
mana-0f55757c602c7fec723f73e5820ec936d24cd826.tar.xz
mana-0f55757c602c7fec723f73e5820ec936d24cd826.zip
Removed some useless null pointer checks.
Diffstat (limited to 'src/lockedarray.h')
-rw-r--r--src/lockedarray.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lockedarray.h b/src/lockedarray.h
index 13cbbda7..7ec2f9da 100644
--- a/src/lockedarray.h
+++ b/src/lockedarray.h
@@ -74,8 +74,7 @@ LockedArray<T>::LockedArray(unsigned int size):
template<class T>
LockedArray<T>::~LockedArray()
{
- if (mData)
- delete [] mData;
+ delete [] mData;
}
template<class T>