projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4ac2be
)
util: drop trailing semicolon from CASE_RETURN_STRING macro
author
Peter Hutterer
<peter.hutterer@who-t.net>
Sun, 13 Dec 2015 21:33:31 +0000
(07:33 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Sun, 13 Dec 2015 22:25:56 +0000
(08:25 +1000)
Avoid empty statements and force the caller to terminate the macro.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/libinput-util.h
patch
|
blob
|
history
diff --git
a/src/libinput-util.h
b/src/libinput-util.h
index
ba253b5
..
a627e5d
100644
(file)
--- 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