aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-03-11 16:14:00 -0700
committerMartin Braun <martin.braun@ettus.com>2015-03-11 16:58:09 -0700
commitfae746179cbb1d8ac146dcae9b5d6cb58b366a56 (patch)
treef3b7db3841f84ded03e97b7020cb0616294b4579 /host/lib/usrp/dboard
parenteed305afee7c5c34a48efd75dfb49ba20072f518 (diff)
downloaduhd-fae746179cbb1d8ac146dcae9b5d6cb58b366a56.tar.gz
uhd-fae746179cbb1d8ac146dcae9b5d6cb58b366a56.tar.bz2
uhd-fae746179cbb1d8ac146dcae9b5d6cb58b366a56.zip
uhd: Fixed multiple compiler warnings (unused variables, missing literal f)
Diffstat (limited to 'host/lib/usrp/dboard')
-rw-r--r--host/lib/usrp/dboard/db_ubx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/db_ubx.cpp b/host/lib/usrp/dboard/db_ubx.cpp
index b6cc1421c..5184d2ecb 100644
--- a/host/lib/usrp/dboard/db_ubx.cpp
+++ b/host/lib/usrp/dboard/db_ubx.cpp
@@ -84,7 +84,7 @@ protected:
// Get only regs with changes
try {
changed_regs = get_changed_addrs();
- } catch (uhd::runtime_error& e) {
+ } catch (uhd::runtime_error&) {
// No saved state - write all regs
for (int addr = 5; addr >= 0; addr--)
changed_regs.insert(boost::uint32_t(addr));