From 826486339bccf2787497e85c0964394dbc292c10 Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Thu, 12 Jan 2023 16:54:02 -0800 Subject: [PATCH] nvk: Quiet a compiler warning. Looks like it's always set to me, but :shrug: Part-of: --- src/nouveau/nvidia-headers/nv_push.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nouveau/nvidia-headers/nv_push.c b/src/nouveau/nvidia-headers/nv_push.c index e327449f61b..3fdc6c9c95e 100644 --- a/src/nouveau/nvidia-headers/nv_push.c +++ b/src/nouveau/nvidia-headers/nv_push.c @@ -66,7 +66,7 @@ vk_push_print(FILE *fp, const struct nv_push *push, while (cur < push->end) { uint32_t hdr = *cur; uint32_t type = hdr >> 29; - uint32_t inc; + uint32_t inc = 0; uint32_t count = (hdr >> 16) & 0x1fff; uint32_t subchan = (hdr >> 13) & 0x7; uint32_t mthd = (hdr & 0xfff) << 2;