From e5cf3cba69e1334cb3f02019eaacc62b36d5b310 Mon Sep 17 00:00:00 2001 From: michael-west Date: Thu, 5 Apr 2018 09:51:55 -0700 Subject: mg: fix compiler warnings --- host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp | 2 +- host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp | 2 +- 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 "<