9e2e7f3bc2
This cherrypicks an upstream-but-unreleased commit for the following
build failure. Strangely, this warning is not emittted on x86_64.
FAILED: libwlroots.so.11.p/render_egl.c.o
gcc -Ilibwlroots.so.11.p -I. -I.. -Iinclude -I../include -Iprotocol -I../protocol -Irender/gles2/shaders -Irender/vulkan/shade
../render/egl.c: In function 'egl_init_display':
../render/egl.c:179:17: error: 'external_only' may be used uninitialized in this function [-Werror=maybe-uninitialized]
179 | free(external_only);
| ^~~~~~~~~~~~~~~~~~~
../render/egl.c:128:29: note: 'external_only' was declared here
128 | EGLBoolean *external_only;
| ^~~~~~~~~~~~~
../render/egl.c:178:17: error: 'modifiers' may be used uninitialized in this function [-Werror=maybe-uninitialized]
178 | free(modifiers);
| ^~~~~~~~~~~~~~~
../render/egl.c:127:27: note: 'modifiers' was declared here
127 | uint64_t *modifiers;
| ^~~~~~~~~
cc1: all warnings being treated as errors