tests: Avoid shadowing "l" in test_get_copyable_footprints().

Found with -Wshadow.
This commit is contained in:
Zebediah Figura 2023-04-30 17:42:05 -05:00 committed by Alexandre Julliard
parent 46e135f6a7
commit fcd6ec33bd
Notes: Alexandre Julliard 2023-12-07 22:48:02 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/506

View File

@ -19893,7 +19893,7 @@ static void test_get_copyable_footprints(void)
uint64_t row_sizes[10], total_size; uint64_t row_sizes[10], total_size;
D3D12_RESOURCE_DESC resource_desc; D3D12_RESOURCE_DESC resource_desc;
unsigned int sub_resource_count; unsigned int sub_resource_count;
unsigned int i, j, k, l; unsigned int i, j, k;
ID3D12Device *device; ID3D12Device *device;
UINT row_counts[10]; UINT row_counts[10];
ULONG refcount; ULONG refcount;
@ -20090,7 +20090,7 @@ static void test_get_copyable_footprints(void)
check_copyable_footprints(&resource_desc, 0, sub_resource_count, base_offsets[k], check_copyable_footprints(&resource_desc, 0, sub_resource_count, base_offsets[k],
NULL, NULL, NULL, &total_size); NULL, NULL, NULL, &total_size);
for (l = 0; l < sub_resource_count; ++l) for (unsigned int l = 0; l < sub_resource_count; ++l)
{ {
vkd3d_test_push_context("sub-resource %u", l); vkd3d_test_push_context("sub-resource %u", l);