Re: [PATCH weston] Fix an uninitialized variable

2018-03-19 Thread Pekka Paalanen
On Sun, 18 Mar 2018 00:20:29 -0400 Dima Ryazanov wrote: > "has_discrete" gets set to true in if/else if, but gets left unset otherwise. > So let's initialize it to false. > > (This was caught by valgrind.) > > Signed-off-by: Dima Ryazanov > --- > libweston/compositor-wayland.c | 1 + > 1 file

[PATCH weston] Fix an uninitialized variable

2018-03-17 Thread Dima Ryazanov
"has_discrete" gets set to true in if/else if, but gets left unset otherwise. So let's initialize it to false. (This was caught by valgrind.) Signed-off-by: Dima Ryazanov --- libweston/compositor-wayland.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libweston/compositor-wayland.c b/libw