Commit edd3f264 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

server: Removed superflous async->queue NULL tests.

parent 42d6cc7c
......@@ -147,7 +147,7 @@ void async_terminate( struct async *async, unsigned int status )
}
/* send error completion event */
if (status != STATUS_ALERTED && async->data.cvalue && async->queue && async->queue->fd)
if (status != STATUS_ALERTED && async->data.cvalue && async->queue->fd)
fd_add_completion( async->queue->fd, async->data.cvalue, status, 0 );
memset( &data, 0, sizeof(data) );
......@@ -257,7 +257,7 @@ void async_set_result( struct object *obj, unsigned int status, unsigned long to
if (async->timeout) remove_timeout_user( async->timeout );
async->timeout = NULL;
async->status = status;
if (async->data.cvalue && async->queue && async->queue->fd)
if (async->data.cvalue && async->queue->fd)
fd_add_completion( async->queue->fd, async->data.cvalue, status, total );
if (async->data.apc)
{
......
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