From e17ad3d6cb95515d22e3522ebc1af8ff863e2731 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Wed, 22 Dec 2021 01:52:04 -0700 Subject: [PATCH] d3d10/tests: Increase size of array expected_i_a in test_scalar_array_methods (cppcheck). This array is accessed at index 5 on line 5138. Signed-off-by: Alex Henrie Signed-off-by: Matteo Bruni Signed-off-by: Alexandre Julliard --- dlls/d3d10/tests/effect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3d10/tests/effect.c b/dlls/d3d10/tests/effect.c index ddc24d66e20..51675bcdab3 100644 --- a/dlls/d3d10/tests/effect.c +++ b/dlls/d3d10/tests/effect.c @@ -4974,7 +4974,7 @@ static void test_scalar_array_methods(ID3D10EffectScalarVariable *var, D3D10_SHA const char *name) { float set_f[2], ret_f[2], expected_f; - int set_i[6], ret_i[6], expected_i, expected_i_a[2]; + int set_i[6], ret_i[6], expected_i, expected_i_a[6]; BOOL set_b[2], ret_b[2], expected_b, expected_b_a[6]; unsigned int i; HRESULT hr;