removed redundant check in HashTable

This commit is contained in:
Mark Olesen
2009-11-06 16:56:36 +01:00
parent 227ea995d8
commit 33e936a34d

View File

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