Skip to content
Commit a5f3bece authored by Max Ihlenfeldt's avatar Max Ihlenfeldt
Browse files

gl-renderer: Always initialize variable



clang 17 complains that `fourcc` in `gl_renderer_fill_buffer_info()` is
uninitialized in the default case, because it fails to recognize that
if hit, that case will `assert(0)`. To get rid of this complaint, we can
just apply clang's suggestion and initialize the variable with 0 when
declaring it.

Signed-off-by: default avatarMax Ihlenfeldt <max@igalia.com>
parent 815a560d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment