Fix uninitialized variable warning
authorJiri Palecek <jpalecek@web.de>
Thu, 3 Aug 2023 16:55:01 +0000 (17:55 +0100)
committerPatrick Franz <deltaone@debian.org>
Thu, 3 Aug 2023 16:55:01 +0000 (17:55 +0100)
commit4e8577f3cdf772bf302c2a4b256302e55e9df3a0
tree2014ce1bf17e7a148c2597adf0619294f256748a
parent9ba57d15a492a977793ef6aa2ad0ebe317487432
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