xwayland: make a if noop clearer to the compiler/coverity
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
fc78bcca21
commit
dda2323d23
|
@ -77,13 +77,16 @@ xwl_glamor_init_wl_registry(struct xwl_screen *xwl_screen,
|
||||||
registry,
|
registry,
|
||||||
id,
|
id,
|
||||||
interface,
|
interface,
|
||||||
version)); /* no-op */
|
version)) {
|
||||||
else if (xwl_screen->eglstream_backend.is_available &&
|
/* no-op */
|
||||||
|
} else if (xwl_screen->eglstream_backend.is_available &&
|
||||||
xwl_screen->eglstream_backend.init_wl_registry(xwl_screen,
|
xwl_screen->eglstream_backend.init_wl_registry(xwl_screen,
|
||||||
registry,
|
registry,
|
||||||
id,
|
id,
|
||||||
interface,
|
interface,
|
||||||
version)); /* no-op */
|
version)) {
|
||||||
|
/* no-op */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool
|
Bool
|
||||||
|
|
Loading…
Reference in New Issue
Block a user