Wayland: Add a missing break statement
Found by the clang static analyzer.
This commit is contained in:
@ -789,6 +789,7 @@ pointer_handle_axis (void *data,
|
|||||||
case WL_POINTER_AXIS_HORIZONTAL_SCROLL:
|
case WL_POINTER_AXIS_HORIZONTAL_SCROLL:
|
||||||
delta_x = wl_fixed_to_double (value) / 10.0;
|
delta_x = wl_fixed_to_double (value) / 10.0;
|
||||||
delta_y = 0;
|
delta_y = 0;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
g_return_if_reached ();
|
g_return_if_reached ();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user