Skip to content

Commit

Permalink
iio_widget: remove unused variable
Browse files Browse the repository at this point in the history
This would make compiling with clang fail with Werror

Signed-off-by: Nuno Sa <[email protected]>
  • Loading branch information
nunojsa committed Dec 15, 2023
1 parent b7e5b37 commit 71dcde0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion iio_widget.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ void iio_combo_box_init_no_avail_flush(struct iio_widget *widget, struct iio_dev
if (attr_name_avail) {
int ret, item;
char text[1024];
GtkTreeModel *model = gtk_combo_box_get_model(GTK_COMBO_BOX(combo_box));
gchar **items_avail = NULL;

if (chn)
Expand Down

0 comments on commit 71dcde0

Please sign in to comment.