Module: wine Branch: master Commit: 567e35ceaf4bbf23c91d545d7a15c75dada6a424 URL: https://gitlab.winehq.org/wine/wine/-/commit/567e35ceaf4bbf23c91d545d7a15c75...
Author: Michael Stefaniuc mstefani@winehq.org Date: Thu Mar 30 19:20:44 2023 +0200
dinput/tests: Drop superfluous TRUE : FALSE conditional expressions.
---
dlls/dinput/tests/force_feedback.c | 2 +- dlls/dinput/tests/joystick8.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dinput/tests/force_feedback.c b/dlls/dinput/tests/force_feedback.c index 696546ee49d..0086144fb73 100644 --- a/dlls/dinput/tests/force_feedback.c +++ b/dlls/dinput/tests/force_feedback.c @@ -2950,7 +2950,7 @@ static BOOL test_force_feedback_joystick( DWORD version ) .expect_count = version < 0x700 ? ARRAY_SIZE(expect_objects_5) : ARRAY_SIZE(expect_objects), .expect_objs = version < 0x700 ? expect_objects_5 : expect_objects, .todo_objs = version < 0x700 ? todo_objects_5 : NULL, - .todo_extra = version < 0x700 ? TRUE : FALSE, + .todo_extra = version < 0x700, }; struct check_effects_params check_effects_params = { diff --git a/dlls/dinput/tests/joystick8.c b/dlls/dinput/tests/joystick8.c index e654fd53dbb..3ab6f3c26d4 100644 --- a/dlls/dinput/tests/joystick8.c +++ b/dlls/dinput/tests/joystick8.c @@ -1781,7 +1781,7 @@ static void test_simple_joystick( DWORD version ) .expect_count = version < 0x700 ? ARRAY_SIZE(expect_objects_5) : ARRAY_SIZE(expect_objects), .expect_objs = version < 0x700 ? expect_objects_5 : expect_objects, .todo_objs = version < 0x700 ? todo_objects_5 : NULL, - .todo_extra = version < 0x700 ? TRUE : FALSE, + .todo_extra = version < 0x700, };
const DIEFFECTINFOW expect_effects[] = {};