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:
6c8c78f
)
libinput: remove build warnings
author
jeon
<jhyuni.kang@samsung.com>
Thu, 12 Mar 2020 11:55:44 +0000
(20:55 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Mon, 4 Dec 2023 10:24:41 +0000
(19:24 +0900)
- if ENABLE_QUIRKS is not enabled,
these variables are not used.
Change-Id: Ie909526d2dc18b47d8b527a141ea59092bb8ade2
src/libinput.c
patch
|
blob
|
history
diff --git
a/src/libinput.c
b/src/libinput.c
index e6f552f6b85f0c07b9fea42410a53366ce188177..dd3358f92bd2a1b7cae4aabf42cfae627893eb02 100644
(file)
--- a/
src/libinput.c
+++ b/
src/libinput.c
@@
-2174,9
+2174,11
@@
libinput_init(struct libinput *libinput,
void
libinput_init_quirks(struct libinput *libinput)
{
+#ifdef ENABLE_QUIRKS
const char *data_path,
*override_file = NULL;
struct quirks_context *quirks;
+#endif
if (libinput->quirks_initialized)
return;