aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2016-09-29 11:59:20 -0700
committermbr0wn <martin.braun@ettus.com>2016-10-18 08:28:12 -0700
commitd96950503bec5feef0704fe476d0ebe4c4787c3d (patch)
tree71a9926c0ea86a097417a62a2ece5e092e09ec2d /host
parent2228c5c95c2c03bf4b453a14d38f43514603337b (diff)
downloaduhd-d96950503bec5feef0704fe476d0ebe4c4787c3d.tar.gz
uhd-d96950503bec5feef0704fe476d0ebe4c4787c3d.tar.bz2
uhd-d96950503bec5feef0704fe476d0ebe4c4787c3d.zip
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 <philip@opensdr.com>
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/e300/e300_remote_codec_ctrl.cpp4
1 files changed, 2 insertions, 2 deletions
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)
{