Sebastian Lackner : ntdll: Fix incorrect assignment in assert statement ( Coverity).
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jul 13 09:30:03 CDT 2015
Module: wine
Branch: master
Commit: b687fee66f0926a1e9c852082495d69e857524da
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b687fee66f0926a1e9c852082495d69e857524da
Author: Sebastian Lackner <sebastian at fds-team.de>
Date: Sat Jul 11 15:33:04 2015 +0200
ntdll: Fix incorrect assignment in assert statement (Coverity).
---
dlls/ntdll/threadpool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/threadpool.c b/dlls/ntdll/threadpool.c
index a4e0619..23091f3 100644
--- a/dlls/ntdll/threadpool.c
+++ b/dlls/ntdll/threadpool.c
@@ -1598,7 +1598,7 @@ static NTSTATUS tp_waitqueue_lock( struct threadpool_object *wait )
struct waitqueue_bucket *bucket;
NTSTATUS status;
HANDLE thread;
- assert( wait->type = TP_OBJECT_TYPE_WAIT );
+ assert( wait->type == TP_OBJECT_TYPE_WAIT );
wait->u.wait.signaled = 0;
wait->u.wait.bucket = NULL;
More information about the wine-cvs
mailing list