From d2f677383144ccb1fd92c475550c9f6b480ee0b6 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 23 Nov 2022 08:38:11 +1000 Subject: [PATCH] Remove a few empty lines with nothing but a lonely tab Signed-off-by: Peter Hutterer --- src/quirks.c | 2 +- src/util-prop-parsers.c | 2 +- src/util-strings.c | 4 ++-- tools/libinput-quirks.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/quirks.c b/src/quirks.c index 5651c51e..c264dd38 100644 --- a/src/quirks.c +++ b/src/quirks.c @@ -880,7 +880,7 @@ static bool parse_value_line(struct quirks_context *ctx, struct section *s, const char *line) { bool rc = false; - + size_t nelem; char **strv = strv_from_string(line, "=", &nelem); if (!strv || nelem != 2) diff --git a/src/util-prop-parsers.c b/src/util-prop-parsers.c index 2e4b514b..a03fbdd5 100644 --- a/src/util-prop-parsers.c +++ b/src/util-prop-parsers.c @@ -178,7 +178,7 @@ parse_calibration_property(const char *prop, float calibration_out[6]) { if (!prop) return false; - + bool rc = false; size_t num_calibration; diff --git a/src/util-strings.c b/src/util-strings.c index f3494fbb..4cd26743 100644 --- a/src/util-strings.c +++ b/src/util-strings.c @@ -110,7 +110,7 @@ strv_from_string(const char *in, const char *separators, size_t *num_elements) { assert(in != NULL); - + const char *s = in; size_t l, nelems = 0; while (next_word(&s, &l, separators) != NULL) @@ -137,7 +137,7 @@ strv_from_string(const char *in, const char *separators, size_t *num_elements) strv[idx++] = copy; } - + *num_elements = nelems; return strv; diff --git a/tools/libinput-quirks.c b/tools/libinput-quirks.c index 047eb041..e97eff68 100644 --- a/tools/libinput-quirks.c +++ b/tools/libinput-quirks.c @@ -197,7 +197,7 @@ main(int argc, char **argv) udev = udev_new(); if (!udev) goto out; - + path = argv[optind]; if (strneq(path, "/sys/", 5)) { device = udev_device_new_from_syspath(udev, path);