mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-01 12:41:16 +00:00
Cursor::DeleteMatch check and clang fix
This commit is contained in:
parent
6c914e0700
commit
ecc1d6e5f9
@ -122,6 +122,8 @@ void MxHashTableCursor<T>::DeleteMatch()
|
||||
{
|
||||
// Cut the matching node out of the linked list
|
||||
// by updating pointer references.
|
||||
if (m_match == NULL)
|
||||
return;
|
||||
|
||||
if (m_match->m_prev) {
|
||||
m_match->m_prev->m_next = m_match->m_next;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user