kernel32/tests: The result of a comparison is already a BOOL.

This commit is contained in:
Michael Stefaniuc 2015-06-30 09:29:24 +02:00 committed by Alexandre Julliard
parent 699efa6f3e
commit c50f6a304c
1 changed files with 2 additions and 2 deletions

View File

@ -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))