aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/uhd_usrp_probe.cpp
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2016-06-16 08:02:11 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2016-06-16 08:02:11 -0700
commitec75303792bfecfcc921295f0f48517b8dc26d35 (patch)
tree5fb964cfd16619d5a3724144c7e1dac8be28099b /host/utils/uhd_usrp_probe.cpp
parentab8d81bc3372cd17800377717470283401d7aafa (diff)
downloaduhd-ec75303792bfecfcc921295f0f48517b8dc26d35.tar.gz
uhd-ec75303792bfecfcc921295f0f48517b8dc26d35.tar.bz2
uhd-ec75303792bfecfcc921295f0f48517b8dc26d35.zip
Fixed minor warnings
* Mismatched printf format strings * Number truncation * Unreferenced variables
Diffstat (limited to 'host/utils/uhd_usrp_probe.cpp')
-rw-r--r--host/utils/uhd_usrp_probe.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/utils/uhd_usrp_probe.cpp b/host/utils/uhd_usrp_probe.cpp
index 4a84fef55..ae86b0dba 100644
--- a/host/utils/uhd_usrp_probe.cpp
+++ b/host/utils/uhd_usrp_probe.cpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010-2011,2015 Ettus Research LLC
+// Copyright 2010-2011,2015-2016 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -172,7 +172,7 @@ static std::string get_mboard_pp_string(property_tree::sptr tree, const fs_path
ss << make_border(get_dboard_pp_string("TX", tree, path / "dboards" / name));
}
}
- catch (const uhd::lookup_error &e) {
+ catch (const uhd::lookup_error&) {
/* nop */
}
return ss.str();