Commit 29d7cd4f authored by Povilas Kanapickas's avatar Povilas Kanapickas
Browse files

Remove unused variable

parent 3afb6244
Pipeline #212151 passed with stages
in 2 minutes and 48 seconds
......@@ -1052,13 +1052,11 @@ xf86libinput_init_touch(InputInfoPtr pInfo)
struct xf86libinput *driver_data = pInfo->private;
struct libinput_device *device = driver_data->shared_device->device;
int min, max, res;
unsigned char btnmap[MAX_BUTTONS + 1];
Atom btnlabels[MAX_BUTTONS];
Atom axislabels[TOUCHPAD_NUM_AXES];
int nbuttons = 7;
int ntouches = TOUCH_MAX_SLOTS;
init_button_map(btnmap, ARRAY_SIZE(btnmap));
init_button_labels(btnlabels, ARRAY_SIZE(btnlabels));
init_axis_labels(axislabels, ARRAY_SIZE(axislabels));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment