From 62f145186e554b7a3f8635c8ce6cc0570c835766 Mon Sep 17 00:00:00 2001 From: yuuu Date: Tue, 31 Jan 2023 07:11:23 +0900 Subject: [PATCH] Remove unused variable `error_class`. --- src/mrb_esp32_wifi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mrb_esp32_wifi.c b/src/mrb_esp32_wifi.c index 5405927..2f13d17 100644 --- a/src/mrb_esp32_wifi.c +++ b/src/mrb_esp32_wifi.c @@ -133,7 +133,6 @@ mrb_esp32_wifi_wait_for_event(mrb_state *mrb, mrb_value self, mrb_esp32_wifi_eve eh_ctx_t *ehc = (eh_ctx_t *) DATA_PTR(self); mrb_esp32_wifi_event_t ev; int wait_count; - struct RClass* error_class; for(wait_count = 0 ; wait_count < WAIT_EVENT_TIMEOUT_SEC ; wait_count++) { if(xQueueReceive(ehc->queue, (void*)&ev, (TickType_t)(1000 / portTICK_PERIOD_MS))) {