mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 22:31:23 +01:00
GH #379: Remove unnecessary null pointer checks
This commit is contained in:
parent
9553d1d2ec
commit
6ec4986fb1
@ -130,8 +130,7 @@ public:
|
||||
return;
|
||||
for (UInt32 i = 0; i < _maxCapacity; ++i)
|
||||
{
|
||||
if (_entries[i])
|
||||
delete _entries[i];
|
||||
delete _entries[i];
|
||||
}
|
||||
delete[] _entries;
|
||||
_entries = 0;
|
||||
|
@ -384,10 +384,7 @@ Template::Template()
|
||||
|
||||
Template::~Template()
|
||||
{
|
||||
if ( _parts != NULL )
|
||||
{
|
||||
delete _parts;
|
||||
}
|
||||
delete _parts;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user