aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authormichael-west <michael.west@ettus.com>2018-04-05 09:51:55 -0700
committerMartin Braun <martin.braun@ettus.com>2018-04-05 18:00:37 -0700
commite5cf3cba69e1334cb3f02019eaacc62b36d5b310 (patch)
tree99fd981eef928a9e10193bab10a19c9758ff35e6 /host/lib
parentdbd38a24f80bd2b8d5603adf840e2651ee14ab5b (diff)
downloaduhd-e5cf3cba69e1334cb3f02019eaacc62b36d5b310.tar.gz
uhd-e5cf3cba69e1334cb3f02019eaacc62b36d5b310.tar.bz2
uhd-e5cf3cba69e1334cb3f02019eaacc62b36d5b310.zip
mg: fix compiler warnings
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp2
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp b/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
index a5f33be2c..4e567c493 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
@@ -97,7 +97,7 @@ double magnesium_ad9371_iface::get_gain(const size_t chan, const direction_t dir
return retval;
}
-double magnesium_ad9371_iface::get_bandwidth(const size_t chan, const direction_t dir)
+double magnesium_ad9371_iface::get_bandwidth(const size_t /*chan*/, const direction_t /*dir*/)
{
// TODO: implement
UHD_LOG_WARNING(_L, "Ignoring attempt to get bandwidth");
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp
index ab0bf0ea7..05f7b48a6 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp
@@ -634,7 +634,7 @@ freq_range_t magnesium_radio_ctrl_impl::get_tx_lo_freq_range(
void magnesium_radio_ctrl_impl::set_tx_lo_source(
const std::string &src,
const std::string &name,
- const size_t chan
+ const size_t /*chan*/
) {
UHD_LOG_TRACE(unique_id(), "Attempting to set tx LO." <<"LO "<<name<<" to "<<src << " at "<<chan);
//TODO: checking what options are there