Commit d4b13ef9 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

server: Remove a redundant NULL check for async->fd.

If the async has not been terminated yet, async->fd cannot be NULL. Signed-off-by: 's avatarZebediah Figura <zfigura@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 10ca57f4
......@@ -448,7 +448,7 @@ restart:
LIST_FOR_EACH_ENTRY( async, &process->asyncs, struct async, process_entry )
{
if (async->status != STATUS_PENDING) continue;
if ((!obj || (async->fd && get_fd_user( async->fd ) == obj)) &&
if ((!obj || (get_fd_user( async->fd ) == obj)) &&
(!thread || async->thread == thread) &&
(!iosb || async->data.iosb == iosb))
{
......
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