From ac168cf27461eae06de8ce2be73b1ba4da63aaee Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Fri, 6 Apr 2018 09:39:11 +0200 Subject: [PATCH] Avoid warning --- src/algorithms/signal_source/libs/ad9361_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/signal_source/libs/ad9361_manager.cc b/src/algorithms/signal_source/libs/ad9361_manager.cc index b0a41bd55..34f6f5389 100644 --- a/src/algorithms/signal_source/libs/ad9361_manager.cc +++ b/src/algorithms/signal_source/libs/ad9361_manager.cc @@ -86,7 +86,7 @@ bool get_ad9361_stream_dev(struct iio_context *ctx, enum iodev d, struct iio_dev /* finds AD9361 streaming IIO channels */ -bool get_ad9361_stream_ch(struct iio_context *ctx, enum iodev d, struct iio_device *dev, int chid, struct iio_channel **chn) +bool get_ad9361_stream_ch(struct iio_context *ctx __attribute__((unused)), enum iodev d, struct iio_device *dev, int chid, struct iio_channel **chn) { std::stringstream name; name.str("");