Michael Stefaniuc : hid/tests: Remove duplicated for condition ( coccinellery).
Alexandre Julliard
julliard at winehq.org
Wed Feb 15 16:06:23 CST 2017
Module: wine
Branch: master
Commit: b89e3f80ae7a640ccd2d70aef67369273ec6abf6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b89e3f80ae7a640ccd2d70aef67369273ec6abf6
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Wed Feb 15 10:54:12 2017 +0100
hid/tests: Remove duplicated for condition (coccinellery).
Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
Signed-off-by: Aric Stewart <aric at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/hid/tests/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/hid/tests/device.c b/dlls/hid/tests/device.c
index e72a500..a4c12ce 100644
--- a/dlls/hid/tests/device.c
+++ b/dlls/hid/tests/device.c
@@ -358,7 +358,7 @@ static void test_get_input_report(void)
{
ok(data[0] == 0, "Report ID (0) is not the first byte of the data\n");
report[0] = 0;
- for (i = 0; i < Caps.InputReportByteLength && i < Caps.InputReportByteLength; i++)
+ for (i = 0; i < Caps.InputReportByteLength; i++)
{
char bytestr[5];
sprintf(bytestr, "%x ", (BYTE)data[i]);
More information about the wine-cvs
mailing list