Remove useless assert.

This commit is contained in:
Bartosz Taudul 2018-04-10 14:37:17 +02:00
parent fd41b4927a
commit be50fb26b5

View File

@ -817,7 +817,6 @@ static void UpdateLockCountLockable( LockMap& lockmap, size_t pos )
tl->lockingThread = lockingThread;
tl->waitList = waitList;
tl->lockCount = lockCount;
assert( tl->lockingThread == lockingThread );
pos++;
}
}
@ -893,7 +892,6 @@ static void UpdateLockCountSharedLockable( LockMap& lockmap, size_t pos )
tl->waitList = waitList;
tl->sharedList = sharedList;
tl->lockCount = lockCount;
assert( tl->lockingThread == lockingThread );
pos++;
}
}