diff options
author | Florian Müllner <fmuellner@gnome.org> | 2019-01-25 00:47:44 +0100 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2019-01-25 09:43:06 +0100 |
commit | d5a7bbd09462d08f8734b1a07d8f90409012430a (patch) | |
tree | cd354ff8a13c0e42002db0c5b82704940cbe3f96 /src/backends/x11/meta-renderer-x11.c | |
parent | de41f3ea28021d5dbc4d09ee33b8e8acabd37819 (diff) | |
download | mutter-d5a7bbd09462d08f8734b1a07d8f90409012430a.tar.gz |
Fix builds with G_DISABLE_ASSERT
Commit 25f416c13db added additional compilation warnings, including
-Werror=return-type. There are several places where this results
in build failures if `g_assert_not_reached()` is disabled at compile
time and the compiler misses a return value.
https://gitlab.gnome.org/GNOME/mutter/issues/447
Diffstat (limited to 'src/backends/x11/meta-renderer-x11.c')
-rw-r--r-- | src/backends/x11/meta-renderer-x11.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backends/x11/meta-renderer-x11.c b/src/backends/x11/meta-renderer-x11.c index e070d63b2..a501416e7 100644 --- a/src/backends/x11/meta-renderer-x11.c +++ b/src/backends/x11/meta-renderer-x11.c @@ -70,6 +70,7 @@ get_x11_cogl_winsys_vtable (CoglRenderer *renderer) break; } g_assert_not_reached (); + return NULL; } static CoglRenderer * |