Module: wine Branch: master Commit: 020b86b0be6f819ddafa9f8baa779610bcf7fc4e URL: http://source.winehq.org/git/wine.git/?a=commit;h=020b86b0be6f819ddafa9f8baa...
Author: Michael Stefaniuc mstefani@redhat.de Date: Mon Feb 29 15:53:25 2016 +0100
d3dx9/tests: Avoid a TRUE:FALSE conditional expression.
Signed-off-by: Michael Stefaniuc mstefani@redhat.de Signed-off-by: Matteo Bruni mbruni@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/d3dx9_36/tests/effect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3dx9_36/tests/effect.c b/dlls/d3dx9_36/tests/effect.c index 482f064..1b895da 100644 --- a/dlls/d3dx9_36/tests/effect.c +++ b/dlls/d3dx9_36/tests/effect.c @@ -1953,7 +1953,7 @@ static void test_effect_parameter_value(IDirect3DDevice9 *device) hr = effect->lpVtbl->SetBool(effect, parameter, bvalue); if (!res_desc->Elements && res_desc->Rows == 1 && res_desc->Columns == 1) { - bvalue = bvalue ? TRUE : FALSE; + bvalue = TRUE; set_number(expected_value, res_desc->Type, &bvalue, D3DXPT_BOOL); ok(hr == D3D_OK, "%u - %s: SetBool failed, got %#x, expected %#x\n", i, res_full_name, hr, D3D_OK); }