radv: initialize a couple of variables

Because musl will lose (in the next commit) the ability to see that they are initialized...

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28800>
This commit is contained in:
Eric Engestrom 2024-04-18 13:25:07 +02:00 committed by Marge Bot
parent 05c4c17f91
commit 71b93f63dd
1 changed files with 1 additions and 1 deletions

View File

@ -2008,7 +2008,7 @@ radv_dcc_formats_compatible(enum amd_gfx_level gfx_level, VkFormat format1, VkFo
{
const struct util_format_description *desc1, *desc2;
enum dcc_channel_type type1, type2;
unsigned size1, size2;
unsigned size1 = 0, size2 = 0;
int i;
/* All formats are compatible on GFX11. */