Skip to content

Commit

Permalink
plugins: adrv9002: remove unused variables
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 <nuno.sa@analog.com>
  • Loading branch information
nunojsa committed Dec 19, 2023
1 parent 6ca8470 commit 3d4f21b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/adrv9002.c
Expand Up @@ -926,7 +926,6 @@ static void adrv9002_profile_read(struct plugin_private *priv)
char profile[512];
ssize_t ret;
GtkLabel *label = GTK_LABEL(gtk_builder_get_object(priv->builder, "profile_config_read"));
int c;

ret = iio_device_attr_read(priv->adrv9002, "profile_config", profile, sizeof(profile));
if (ret < 0)
Expand Down Expand Up @@ -1018,7 +1017,6 @@ static void adrv9002_update_rx_intf_gain_attr_available(struct adrv9002_rx *rx)
struct iio_widget *w = &rx->intf_gain;
gchar **saved_list, **available;
char text[512];
gint idx;
int ret;

ret = iio_channel_attr_read(w->chn, w->attr_name_avail, text,
Expand Down

0 comments on commit 3d4f21b

Please sign in to comment.