HashTable: drop redundant check as Mattijs noticed

This commit is contained in:
Mark Olesen
2009-11-04 20:51:18 +01:00
parent c7c9a6e003
commit 641a0f1b9c

View File

@ -180,7 +180,7 @@ inline Foam::HashTable<T, Key, Hash>::iteratorBase::iteratorBase
entryPtr_(0),
hashIndex_(0)
{
if (hashTable_->nElmts_ && hashTable_->table_)
if (hashTable_->nElmts_)
{
// find first non-NULL table entry
while