Fix uninitialized variable warning
authorJiri Palecek <jpalecek@web.de>
Tue, 28 Feb 2023 14:01:10 +0000 (14:01 +0000)
committerAurélien COUDERC <coucouf@debian.org>
Tue, 28 Feb 2023 14:01:10 +0000 (14:01 +0000)
commitc9c93d10b79ccec5dc57ad567212c13e14816c19
tree9efadb5c15a369c14ac024be0dc12ec7e7ee17dc
parent44115f2efbef12b011b68726b3a4e32e0ca7290e
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