about summary refs log tree commit diff
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2022-06-24 11:34:41 -0400
committerZach DeCook <zachdecook@librem.one>2022-06-24 11:34:41 -0400
commit65c5e36ca5199abc0e5f6264d0c4590440f98fa7 (patch)
treeeb37543a7eadca287d871d913e6559aee239b284
parentf82078bd92e7e0343fc337a16c20e9ffb30b3dcb (diff)
downloadsuggpicker-65c5e36ca5199abc0e5f6264d0c4590440f98fa7.tar.gz
main: Remove unused variables
-rw-r--r--main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main.c b/main.c
index 2e3a2ba..ab527a0 100644
--- a/main.c
+++ b/main.c
@@ -141,7 +141,6 @@ void
 wl_touch_down(void *data, struct wl_touch *wl_touch, uint32_t serial,
               uint32_t time, struct wl_surface *surface, int32_t id,
               wl_fixed_t x, wl_fixed_t y) {
-	struct key *next_key;
 	uint32_t touch_x, touch_y;
 
 	touch_x = wl_fixed_to_int(x);
@@ -206,7 +205,6 @@ wl_pointer_motion(void *data, struct wl_pointer *wl_pointer, uint32_t time,
 void
 wl_pointer_button(void *data, struct wl_pointer *wl_pointer, uint32_t serial,
                   uint32_t time, uint32_t button, uint32_t state) {
-	struct key *next_key;
 	cur_press = state == WL_POINTER_BUTTON_STATE_PRESSED;
 
 	if (cur_press) {