mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 21:40:40 +01:00
Remove a few empty lines with nothing but a lonely tab
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
703ecb200c
commit
d2f6773831
4 changed files with 5 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue