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