Remove empty lines between closing braces

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1190>
This commit is contained in:
Peter Hutterer 2025-04-16 11:09:07 +10:00
parent 265cacb246
commit 546debe926
13 changed files with 0 additions and 18 deletions

View file

@ -545,7 +545,6 @@ fallback_debounce_handle_state(struct fallback_dispatch *dispatch,
time);
flushed = true;
}
}
}

View file

@ -1698,7 +1698,6 @@ tp_pre_process_state(struct tp_dispatch *tp, uint64_t time)
if (t->state == TOUCH_END && t->history.count > 0)
t->point = tp_motion_history_offset(t, 0)->point;
}
}
static void

View file

@ -2239,7 +2239,6 @@ reprocess:
detect_tool_contact(tablet, device, tool);
sanitize_tablet_axes(tablet, tool);
}
}
if (!tablet_has_status(tablet, TABLET_TOOL_OUTSIDE_AREA))

View file

@ -206,7 +206,6 @@ evdev_pointer_post_button(struct evdev_device *device,
device->scroll.change_scroll_method(device);
}
}
}
static void

View file

@ -1376,7 +1376,6 @@ START_TEST(device_quirks_no_abs_mt_y)
litest_event(dev, EV_SYN, SYN_REPORT, 0);
litest_assert_empty_queue(li);
}
}
END_TEST

View file

@ -2056,7 +2056,6 @@ START_TEST(pointer_scroll_button_lock_middlebutton)
default:
abort();
}
}
END_TEST
@ -2180,7 +2179,6 @@ START_TEST(pointer_accel_defaults)
litest_assert_double_eq(libinput_device_config_accel_get_speed(device),
1.0);
}
}
END_TEST

View file

@ -699,7 +699,6 @@ START_TEST(tip_up_motion_one_axis)
start_y++;
break;
}
}
litest_drain_events(li);

View file

@ -529,7 +529,6 @@ START_TEST(touch_calibration_config)
libinput_device_config_calibration_get_matrix(dev->libinput_device, matrix);
litest_assert_int_eq(memcmp(matrix, nonidentity, sizeof(matrix)), 0);
}
}
END_TEST

View file

@ -2038,7 +2038,6 @@ START_TEST(multivalue_test)
litest_assert_str_eq(str, "0.123400");
free(str);
}
}
END_TEST

View file

@ -282,7 +282,6 @@ main(int argc, char **argv)
}
break;
}
}
if (optind < argc) {

View file

@ -477,7 +477,6 @@ draw_evdev_abs(struct window *w, cairo_t *cr)
ay = libevdev_get_abs_info(d->evdev, ABS_Y);
w->evdev.last_device = w->evdev.device;
}
}
if (ax == NULL || ay == NULL)
goto draw_outline;
@ -1221,7 +1220,6 @@ change_ptraccel(struct window *w, double amount)
libinput_device_get_name(*dev),
speed);
}
}
}
@ -1564,7 +1562,6 @@ handle_event_button(struct libinput_event *ev, struct window *w)
w->buttons.other_name = libevdev_event_code_get_name(EV_KEY,
button);
}
}
static void
@ -1975,7 +1972,6 @@ main(int argc, char **argv)
}
break;
}
}
if (optind < argc) {

View file

@ -568,7 +568,6 @@ main(int argc, char **argv)
}
break;
}
}
if (optind < argc) {

View file

@ -390,7 +390,6 @@ print_pad_info(struct libinput_device *device)
printf("\n");
}
}
}
#define print_aligned(topic, fmt, ...) do {\
@ -547,7 +546,6 @@ main(int argc, char **argv)
default:
return EXIT_INVALID_USAGE;
}
}
if (optind < argc) {
const char *devices[32] = {NULL};