Module: wine Branch: master Commit: c50f6a304c93b1d17e762a412a259f1d0260b2a1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c50f6a304c93b1d17e762a412a...
Author: Michael Stefaniuc mstefani@redhat.de Date: Tue Jun 30 09:29:24 2015 +0200
kernel32/tests: The result of a comparison is already a BOOL.
---
dlls/kernel32/tests/volume.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel32/tests/volume.c b/dlls/kernel32/tests/volume.c index b41f8ac..44794f1 100644 --- a/dlls/kernel32/tests/volume.c +++ b/dlls/kernel32/tests/volume.c @@ -793,9 +793,9 @@ static void test_GetVolumePathNameA(void)
for (i=0; i<sizeof(test_paths)/sizeof(test_paths[0]); i++) { - BOOL broken_ret = test_paths[i].broken_error == NO_ERROR ? TRUE : FALSE; + BOOL broken_ret = test_paths[i].broken_error == NO_ERROR; char *output = (test_paths[i].path_name != NULL ? volume_path : NULL); - BOOL expected_ret = test_paths[i].error == NO_ERROR ? TRUE : FALSE; + BOOL expected_ret = test_paths[i].error == NO_ERROR;
volume_path[0] = 0; if (test_paths[i].path_len < sizeof(volume_path))