From f872b16ef80096cd3186da16f50976e16fe00e82 Mon Sep 17 00:00:00 2001 From: Yaroslav Chvanov Date: Fri, 24 Feb 2023 23:36:23 +0300 Subject: [PATCH] driver-hidpp20: fix variable shadowing --- src/driver-hidpp20.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/driver-hidpp20.c b/src/driver-hidpp20.c index ce6907d8..37471cd6 100644 --- a/src/driver-hidpp20.c +++ b/src/driver-hidpp20.c @@ -249,8 +249,6 @@ hidpp20drv_read_button_8100(struct ratbag_button *button) } if (button->action.type == RATBAG_BUTTON_ACTION_TYPE_KEY) { - int rc; - rc = ratbag_button_macro_new_from_keycode(button, button->action.action.key.key, modifiers);