[PATCH weston] gl-renderer: Silence silly warning

Quentin Glidic sardemff7+wayland at sardemff7.net
Wed Jul 13 07:39:47 UTC 2016


On 11/07/2016 23:26, Emil Velikov wrote:
> On 4 July 2016 at 15:00, Quentin Glidic <sardemff7+wayland at sardemff7.net> wrote:
>> From: Quentin Glidic <sardemff7+git at sardemff7.net>
>>
>> Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
>> ---
>>  libweston/gl-renderer.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/libweston/gl-renderer.c b/libweston/gl-renderer.c
>> index 28c0b50..73b6ccc 100644
>> --- a/libweston/gl-renderer.c
>> +++ b/libweston/gl-renderer.c
>> @@ -455,7 +455,7 @@ static int
>>  compress_bands(pixman_box32_t *inrects, int nrects,
>>                    pixman_box32_t **outrects)
>>  {
>> -       bool merged;
>> +       bool merged = false;
> What is the "silly warning" here ? Please mention it just like you did
> for the others.
>
> If we get a "Wmaybe-uninitialized" then it's a compiler deficiency,
> but it doesn't harm silencing it with this patch.
>
> -Emil
>

This patch has a v2 too.

-- 

Quentin “Sardem FF7” Glidic


More information about the wayland-devel mailing list