Removed no longer correct assertion.

This commit is contained in:
Alexandre Julliard 2003-05-02 20:18:09 +00:00
parent 98cfe58dcf
commit d338b49574

View file

@ -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