mirror of
https://github.com/holub/mame
synced 2025-06-06 21:03:47 +03:00
Remove redundant check.
This commit is contained in:
parent
18c8bcb17f
commit
9ec834eb29
@ -445,7 +445,7 @@ bool hash_collection::operator==(const hash_collection &rhs) const
|
|||||||
for (hash_base *hash = m_hashlist.first(); hash != NULL; hash = hash->next())
|
for (hash_base *hash = m_hashlist.first(); hash != NULL; hash = hash->next())
|
||||||
{
|
{
|
||||||
hash_base *rhs_hash = rhs.hash(hash->id());
|
hash_base *rhs_hash = rhs.hash(hash->id());
|
||||||
if (hash != NULL && rhs_hash != NULL)
|
if (rhs_hash != NULL)
|
||||||
{
|
{
|
||||||
if (*hash != *rhs_hash)
|
if (*hash != *rhs_hash)
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user