diff options
author | Changqing Li <changqing.li@windriver.com> | 2019-04-11 16:20:46 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-12 09:29:06 +0100 |
commit | bf45a3e222bda60685bf3b04c31401fce37cdd13 (patch) | |
tree | a4c5dfc91eb2b3e67b8afc030eb58d91e5cd05a8 /scripts/wic | |
parent | 59fcee90de0cbb5b6b8333ab2b0e36214b174e52 (diff) | |
download | poky-bf45a3e222bda60685bf3b04c31401fce37cdd13.tar.gz |
cogl: fix compile error caused by -Werror=maybe-uninitialized
When enable DEBUG_BUILD, cogl compile failed with error:
| ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:217:17: error: 'gltype' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| *out_gltype = gltype;
| ~~~~~~~~~~~~^~~~~~~~
| ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:213:22: error: 'glintformat' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| *out_glintformat = glintformat;
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
Source: https://gitlab.gnome.org/GNOME/cogl/blob/master/cogl/driver/gl/gles/cogl-driver-gles.c
it can handle correctly, so fix with -Wnoerror
(From OE-Core rev: 72aace12a499db8d1340c8705b177e6f191d853d)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/wic')
0 files changed, 0 insertions, 0 deletions