gl-renderer: Silence maybe-uninitialized warning
authorQuentin Glidic <sardemff7+git@sardemff7.net>
Sun, 10 Jul 2016 09:00:50 +0000 (11:00 +0200)
committerQuentin Glidic <sardemff7+git@sardemff7.net>
Mon, 15 Aug 2016 14:30:13 +0000 (16:30 +0200)
commitd84af7ccc56c3339a5d485594cb2ec80277d8b53
treede2b6317fbf5d16a519a5521633b8dbc94d9a1e5
parente9168f98e674065188bb00bac11d52e7c24168d0
gl-renderer: Silence maybe-uninitialized warning

libweston/gl-renderer.c: In function 'compress_bands':
libweston/gl-renderer.c:481:6: warning: 'merged' may be used
uninitialized in this function [-Wmaybe-uninitialized]
   if (!merged) {
         ^

Warning produced by GCC 5.3 and 6.1, with -Og.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Giulio Camuffo <giuliocamuffo@gmail.com>
libweston/gl-renderer.c