projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0410054
)
nvk: Quiet a compiler warning.
author
Emma Anholt
<emma@anholt.net>
Fri, 13 Jan 2023 00:54:02 +0000
(16:54 -0800)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 4 Aug 2023 21:32:06 +0000
(21:32 +0000)
Looks like it's always set to me, but :shrug:
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/nvidia-headers/nv_push.c
patch
|
blob
|
history
diff --git
a/src/nouveau/nvidia-headers/nv_push.c
b/src/nouveau/nvidia-headers/nv_push.c
index
e327449
..
3fdc6c9
100644
(file)
--- 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;