diff --git a/clutter/clutter/clutter-pan-action.c b/clutter/clutter/clutter-pan-action.c index fa08efaf9..5faee72d5 100644 --- a/clutter/clutter/clutter-pan-action.c +++ b/clutter/clutter/clutter-pan-action.c @@ -961,6 +961,7 @@ clutter_pan_action_get_motion_delta (ClutterPanAction *self, return clutter_pan_action_get_interpolated_delta (self, delta_x, delta_y); default: g_assert_not_reached (); + return 0.0f; } } diff --git a/clutter/clutter/clutter-shader-effect.c b/clutter/clutter/clutter-shader-effect.c index 5e3cabfb5..a5ae1ee40 100644 --- a/clutter/clutter/clutter-shader-effect.c +++ b/clutter/clutter/clutter-shader-effect.c @@ -333,6 +333,7 @@ clutter_shader_effect_create_shader (ClutterShaderEffect *self) default: g_assert_not_reached (); + return COGL_INVALID_HANDLE; } } diff --git a/clutter/clutter/evdev/clutter-seat-evdev.c b/clutter/clutter/evdev/clutter-seat-evdev.c index 6a7dd267a..329a6d6fd 100644 --- a/clutter/clutter/evdev/clutter-seat-evdev.c +++ b/clutter/clutter/evdev/clutter-seat-evdev.c @@ -766,6 +766,7 @@ discrete_to_direction (double discrete_dx, return CLUTTER_SCROLL_UP; else g_assert_not_reached (); + return 0; } void