Michael Stefaniuc : mshtml/tests: Remove an always true conditional subexpression (PVS-Studio).
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Feb 23 09:04:43 CST 2015
Module: wine
Branch: master
Commit: 9dc35ac468f9c6e805a0eb1c57d043cabfe87a17
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9dc35ac468f9c6e805a0eb1c57d043cabfe87a17
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Sat Feb 21 18:04:34 2015 +0100
mshtml/tests: Remove an always true conditional subexpression (PVS-Studio).
---
dlls/mshtml/tests/events.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mshtml/tests/events.c b/dlls/mshtml/tests/events.c
index 64c0556..8f4e15e 100644
--- a/dlls/mshtml/tests/events.c
+++ b/dlls/mshtml/tests/events.c
@@ -1412,7 +1412,7 @@ static void pump_msgs(BOOL *b)
DispatchMessageW(&msg);
}
}else {
- while(!b && PeekMessageW(&msg, NULL, 0, 0, PM_REMOVE)) {
+ while(PeekMessageW(&msg, NULL, 0, 0, PM_REMOVE)) {
TranslateMessage(&msg);
DispatchMessageW(&msg);
}
More information about the wine-cvs
mailing list