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 <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-12-14 07:33:31 +10:00
parent a4ac2bebb3
commit 874a9153b9

View file

@ -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