mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 03:48:01 +00:00
gdi32/tests: Don't clear a variable before it goes out of scope (PVS-Studio).
This commit is contained in:
parent
f87767bc35
commit
80218d19ef
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user