summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2011-04-17 19:45:47 +0000
committer Aaron Giles <aaron@aarongiles.com>2011-04-17 19:45:47 +0000
commit9ec834eb2930f8369f3a1c049fb052096e6eebf0 (patch)
tree18497bb3ee00ad22e719906911feec06d6d3256d
parent18c8bcb17fab4f20b6fc02526ad498fa4f56f289 (diff)
Remove redundant check.
-rw-r--r--src/emu/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/hash.c b/src/emu/hash.c
index 3c76b761db1..ca768554514 100644
--- a/src/emu/hash.c
+++ b/src/emu/hash.c
@@ -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())
{
hash_base *rhs_hash = rhs.hash(hash->id());
- if (hash != NULL && rhs_hash != NULL)
+ if (rhs_hash != NULL)
{
if (*hash != *rhs_hash)
return false;