Skip to content

Commit

Permalink
Fix omitted unused parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Ioan Dragomir <[email protected]>
  • Loading branch information
trupples committed Sep 16, 2024
1 parent fadf7f1 commit 272a016
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dialogs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 272a016

Please sign in to comment.