Commit d338b495 authored by Alexandre Julliard's avatar Alexandre Julliard

Removed no longer correct assertion.

parent 98cfe58d
...@@ -92,8 +92,7 @@ static unsigned int release_semaphore( obj_handle_t handle, unsigned int count ) ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment