Fix uninitialized variable warning
authorJiri Palecek <jpalecek@web.de>
Fri, 5 May 2023 12:22:35 +0000 (13:22 +0100)
committerSandro Knauß <hefee@debian.org>
Fri, 5 May 2023 12:22:35 +0000 (13:22 +0100)
commitdd1345afb95e26551bf4de5cb7f68df0fc645e74
tree9302a15cae96c90d3a102e226d962be76cb57053
parent618bc2822f6a6f0730d820a2927dc6dd72f7ff13
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