summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-12-14 07:33:31 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-12-14 08:25:56 +1000
commit874a9153b932fbc525bf11012ac2155fff084d82 (patch)
treef8b24d58e8323c48980ed6f7fc6ed5bb34c3cbe5 /src
parenta4ac2bebb310ded75707860f942aea73a9a7cc5f (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/libinput-util.h2
1 files changed, 1 insertions, 1 deletions
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