From 272a0161c42ea07163e53313f0b0fe5bb5737a5d Mon Sep 17 00:00:00 2001 From: Ioan Dragomir Date: Mon, 16 Sep 2024 15:24:26 +0300 Subject: [PATCH] Fix omitted unused parameter Signed-off-by: Ioan Dragomir --- dialogs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dialogs.c b/dialogs.c index c3dae6eb..b10e4f51 100644 --- a/dialogs.c +++ b/dialogs.c @@ -440,9 +440,8 @@ static struct iio_context * get_context(Dialogs *data) /* Change UI state to indicate the USB device list is being refreshed. * Not thread safe by itself - should be queued using gdk_threads_add_idle(), not g_idle_add_full() */ -static bool refresh_usb_clear(void *) +static bool refresh_usb_clear(void *UNUSED(param)) { - gtk_list_store_clear(GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(dialogs.connect_usbd)))); widget_set_cursor(dialogs.connect, GDK_WATCH);