From: jeon Date: Thu, 12 Mar 2020 11:55:44 +0000 (+0900) Subject: libinput: remove build warnings X-Git-Tag: submit/tizen/20210107.083851~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae74abc3c59e2bc219180af39b7463dfbc1e494f;p=platform%2Fupstream%2Flibinput.git libinput: remove build warnings - if ENABLE_QUIRKS is not enabled, these variables are not used. Change-Id: Ie909526d2dc18b47d8b527a141ea59092bb8ade2 --- diff --git a/src/libinput.c b/src/libinput.c index c5e0d7dc..3bedfa72 100644 --- a/src/libinput.c +++ b/src/libinput.c @@ -2088,9 +2088,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;