Commit 80218d19 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

gdi32/tests: Don't clear a variable before it goes out of scope (PVS-Studio).

parent f87767bc
......@@ -4540,7 +4540,6 @@ static void test_GetDIBits_scanlines(void)
ok( ret == 2, "got %d\n", ret );
ok( !memcmp( data, inverted_bits + 32, 16 * 4 ), "bits differ\n");
for (i = 16; i < 128; i++) ok( data[i] == 0xaaaaaaaa, "%d: got %08x\n", i, data[i] );
memset( data, 0xaa, sizeof(data) );
DeleteObject( dib );
......
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