Fix uninitialized variable warning
authorJiri Palecek <jpalecek@web.de>
Sun, 19 May 2024 12:25:38 +0000 (14:25 +0200)
committerPatrick Franz <deltaone@debian.org>
Sun, 19 May 2024 12:25:38 +0000 (14:25 +0200)
commite74694355711745420dacfceee4e8a3c6305614a
treebf2a141c2a47109eab9ae84f474d27385d2e0039
parent63074ae373a4a84b56b0f2229e2ce1d0ed10375d
Fix uninitialized variable warning

Last-Update: 2020-06-04

If the YUV format isn't found, the code depends on .format being
0. However, it was not initialized at all, so this patch initializes
the format member. The other members need not be initialized.
Last-Update: 2020-06-04
Gbp-Pq: Name uninitialized-yuvformat.patch
src/platformsupport/scenes/opengl/egl_dmabuf.cpp