[PATCH] another superflous async->queue check
Marcus Meissner
marcus at jet.franken.de
Sat Dec 8 05:32:15 CST 2007
Another superflous async->queue check spotted
by Coverity.
Ciao, Marcus
---
server/async.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/async.c b/server/async.c
index 738330e..ae58636 100644
--- a/server/async.c
+++ b/server/async.c
@@ -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) );
--
1.5.2.4
More information about the wine-patches
mailing list