From 2000d5240589e2cbec14158f7db72f69cdef04e6 Mon Sep 17 00:00:00 2001 From: athrungithub Date: Mon, 25 Feb 2019 20:56:07 -0300 Subject: [PATCH] clang compile fix #1572 clang consider error no enum handled, in BSD and Linux --- tinywl/tinywl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tinywl/tinywl.c b/tinywl/tinywl.c index 14a1d08b..66e00c03 100644 --- a/tinywl/tinywl.c +++ b/tinywl/tinywl.c @@ -264,6 +264,8 @@ static void server_new_input(struct wl_listener *listener, void *data) { case WLR_INPUT_DEVICE_POINTER: server_new_pointer(server, device); break; + default: + break; } /* We need to let the wlr_seat know what our capabilities are, which is * communiciated to the client. In TinyWL we always have a cursor, even if