Commit e17ad3d6 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

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: 's avatarAlex Henrie <alexhenrie24@gmail.com> Signed-off-by: 's avatarMatteo Bruni <mbruni@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 86eaf7ee
...@@ -4974,7 +4974,7 @@ static void test_scalar_array_methods(ID3D10EffectScalarVariable *var, D3D10_SHA ...@@ -4974,7 +4974,7 @@ static void test_scalar_array_methods(ID3D10EffectScalarVariable *var, D3D10_SHA
const char *name) const char *name)
{ {
float set_f[2], ret_f[2], expected_f; 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]; BOOL set_b[2], ret_b[2], expected_b, expected_b_a[6];
unsigned int i; unsigned int i;
HRESULT hr; HRESULT hr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment