Strange zero operation in dlls/riched20/tests/editor.c (Coverity)
Marcus Meissner
meissner at suse.de
Thu May 5 10:39:15 CDT 2011
Hi Dylan, folks,
Coverity sees following constructs in dlls/riched20/tests/editor.c
introduced by your commit aa3b75f6b74fa87641b1f2b5912fbb82feb4c2da
+ SendMessage(hwndRichEdit, WM_CHAR, 22,
+ (MapVirtualKey('V', MAPVK_VK_TO_VSC) << 16) & 1);
(several more of similar)
The 4th argument is always 0 (because of (x<<16)&1).
You added that Dylan, was perhaps |1 intended for a repeat count of 1?
Ciao, Marcus
More information about the wine-devel
mailing list