mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 02:39:46 +00:00
Removed no longer correct assertion.
This commit is contained in:
parent
98cfe58dcf
commit
d338b49574
|
@ -92,8 +92,7 @@ static unsigned int release_semaphore( obj_handle_t handle, unsigned int count )
|
||||||
}
|
}
|
||||||
else if (sem->count)
|
else if (sem->count)
|
||||||
{
|
{
|
||||||
/* there cannot be any thread waiting if the count is != 0 */
|
/* there cannot be any thread to wake up if the count is != 0 */
|
||||||
assert( !sem->obj.head );
|
|
||||||
sem->count += count;
|
sem->count += count;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue