From 874a9153b932fbc525bf11012ac2155fff084d82 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 14 Dec 2015 07:33:31 +1000 Subject: [PATCH] util: drop trailing semicolon from CASE_RETURN_STRING macro Avoid empty statements and force the caller to terminate the macro. Signed-off-by: Peter Hutterer --- src/libinput-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libinput-util.h b/src/libinput-util.h index ba253b57..a627e5d4 100644 --- a/src/libinput-util.h +++ b/src/libinput-util.h @@ -43,7 +43,7 @@ /* The HW DPI rate we normalize to before calculating pointer acceleration */ #define DEFAULT_MOUSE_DPI 1000 -#define CASE_RETURN_STRING(a) case a: return #a; +#define CASE_RETURN_STRING(a) case a: return #a /* * This list data structure is a verbatim copy from wayland-util.h from the