mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-22 18:30:35 +01:00
tools: move a clang-tidy silence back to where it needs to be
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1292>
This commit is contained in:
parent
4ef50ee946
commit
5495511485
1 changed files with 2 additions and 2 deletions
|
|
@ -158,8 +158,8 @@ print_accel_func(struct motion_filter *filter, accel_profile_func_t profile, int
|
|||
printf("# plot \"gnuplot.data\" using 1:2 title 'accel factor'\n");
|
||||
printf("#\n");
|
||||
printf("# data: velocity(mm/s) factor velocity(units/us) velocity(units/ms)\n");
|
||||
for (mmps = 0.0; mmps < 1000.0;
|
||||
mmps += 1) { // NOLINT: security.FloatLoopCounter
|
||||
for (mmps = 0.0; mmps < 1000.0; // NOLINT: security.FloatLoopCounter
|
||||
mmps += 1) {
|
||||
double units_per_us = mmps_to_upus(mmps, dpi);
|
||||
double units_per_ms = units_per_us * 1000.0;
|
||||
double result = profile(filter, NULL, units_per_us, 0 /* time */);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue