aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common/max287x.hpp
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2015-08-19 11:13:20 -0700
committerMartin Braun <martin.braun@ettus.com>2015-09-01 13:23:19 -0700
commit0ce526f302de68ece342545b4533aab699336028 (patch)
tree5d61c92a78ddb09225930701d53239c163a21e6b /host/lib/usrp/common/max287x.hpp
parent4cfa04f771649245148b7c993d52fdd34225b08e (diff)
downloaduhd-0ce526f302de68ece342545b4533aab699336028.tar.gz
uhd-0ce526f302de68ece342545b4533aab699336028.tar.bz2
uhd-0ce526f302de68ece342545b4533aab699336028.zip
Fixed minor warnings
* Unreferenced exceptions in try-catch statements * Incorrect function documentation * Unlabelled unused variables
Diffstat (limited to 'host/lib/usrp/common/max287x.hpp')
-rw-r--r--host/lib/usrp/common/max287x.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/common/max287x.hpp b/host/lib/usrp/common/max287x.hpp
index d084dcfbe..53d967d0e 100644
--- a/host/lib/usrp/common/max287x.hpp
+++ b/host/lib/usrp/common/max287x.hpp
@@ -772,7 +772,7 @@ void max287x<max287x_regs_t>::commit()
if (changed_regs.find(boost::uint32_t(addr)) != changed_regs.end())
regs.push_back(_regs.get_reg(boost::uint32_t(addr)));
}
- } catch (uhd::runtime_error& e) {
+ } catch (uhd::runtime_error&) {
// No saved state - write all regs
for (int addr = 5; addr >= 0; addr--)
regs.push_back(_regs.get_reg(boost::uint32_t(addr)));