Jacek Caban : server: Remove no loner needed fd NULL check (Coverity).
Alexandre Julliard
julliard at winehq.org
Fri Jul 21 14:09:20 CDT 2017
Module: wine
Branch: master
Commit: f706d9f08fcb463582850a848ffe8fbf7c2ad4a2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f706d9f08fcb463582850a848ffe8fbf7c2ad4a2
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Jul 21 15:19:37 2017 +0200
server: Remove no loner needed fd NULL check (Coverity).
Spotted by Marcus Meissner.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
server/async.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/async.c b/server/async.c
index 1cb020f..cf7a434 100644
--- a/server/async.c
+++ b/server/async.c
@@ -208,7 +208,7 @@ void queue_async( struct async_queue *queue, struct async *async )
grab_object( async );
list_add_tail( &queue->queue, &async->queue_entry );
- if (async->fd) set_fd_signaled( async->fd, 0 );
+ set_fd_signaled( async->fd, 0 );
}
/* create an async on a given queue of a fd */
More information about the wine-cvs
mailing list