svga: silence -Wsometimes-uninitialized
Reviewed-by: Neha Bhende <bhenden@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14790>
This commit is contained in:
parent
ac59a266cc
commit
fd99c36351
|
@ -141,7 +141,7 @@ svga_create_stream_output(struct svga_context *svga,
|
|||
unsigned i;
|
||||
enum pipe_error ret;
|
||||
unsigned id;
|
||||
ASSERTED unsigned maxDecls;
|
||||
ASSERTED unsigned maxDecls = 0;
|
||||
|
||||
assert(info->num_outputs <= PIPE_MAX_SO_OUTPUTS);
|
||||
|
||||
|
|
Loading…
Reference in New Issue