backend-headless: Fix release/debugoptimized build warning with gcc
Fix ‘ret’ used uninitialized. Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
This commit is contained in:
parent
102b9a4de8
commit
53cc781701
|
@ -619,6 +619,7 @@ headless_backend_create(struct weston_compositor *compositor,
|
|||
break;
|
||||
default:
|
||||
weston_log("Error: unsupported renderer\n");
|
||||
ret = -1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue