From d96950503bec5feef0704fe476d0ebe4c4787c3d Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Thu, 29 Sep 2016 11:59:20 -0700 Subject: Fix warning in e300_remote_codec_ctrl.cpp for gcc. The bigger question is why uhd forces the e300 code to have an implementation of an empty function. But, suppress the warning and let people fight about design later. Signed-off-by: Philip Balister --- host/lib/usrp/e300/e300_remote_codec_ctrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host') diff --git a/host/lib/usrp/e300/e300_remote_codec_ctrl.cpp b/host/lib/usrp/e300/e300_remote_codec_ctrl.cpp index cb2583b1b..6ec39131d 100644 --- a/host/lib/usrp/e300/e300_remote_codec_ctrl.cpp +++ b/host/lib/usrp/e300/e300_remote_codec_ctrl.cpp @@ -36,8 +36,8 @@ public: { } - void set_timed_spi(uhd::spi_iface::sptr spi_iface, boost::uint32_t slave_num) {}; - void set_safe_spi(uhd::spi_iface::sptr spi_iface, boost::uint32_t slave_num) {}; + void set_timed_spi(uhd::spi_iface::sptr, boost::uint32_t ) {}; + void set_safe_spi(uhd::spi_iface::sptr, boost::uint32_t ) {}; double set_gain(const std::string &which, const double value) { -- cgit v1.2.3