From b89e3f80ae7a640ccd2d70aef67369273ec6abf6 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Wed, 15 Feb 2017 10:54:12 +0100 Subject: [PATCH] hid/tests: Remove duplicated for condition (coccinellery). Signed-off-by: Michael Stefaniuc Signed-off-by: Aric Stewart Signed-off-by: Alexandre Julliard --- 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 e72a5000161..a4c12ce1feb 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]); -- 2.11.4.GIT