Fix uninitialized variable warning
authorJiri Palecek <jpalecek@web.de>
Thu, 19 Jan 2023 19:50:55 +0000 (19:50 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 19 Jan 2023 19:50:55 +0000 (19:50 +0000)
commit2b4d4e7b231ac64c6230ff1f2ec2b744f47d87db
treeb566d4b6a678d2bcf9fd139dcf23b238d34c2ffb
parent5346a78e61d3d37d0a1ef3276af412429f94a944
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