diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2015-08-19 11:13:20 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-09-01 13:23:19 -0700 |
commit | 0ce526f302de68ece342545b4533aab699336028 (patch) | |
tree | 5d61c92a78ddb09225930701d53239c163a21e6b /host/lib/usrp/b200/b200_io_impl.cpp | |
parent | 4cfa04f771649245148b7c993d52fdd34225b08e (diff) | |
download | uhd-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/b200/b200_io_impl.cpp')
-rw-r--r-- | host/lib/usrp/b200/b200_io_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/b200/b200_io_impl.cpp b/host/lib/usrp/b200/b200_io_impl.cpp index 4aa1a46af..7fcd04823 100644 --- a/host/lib/usrp/b200/b200_io_impl.cpp +++ b/host/lib/usrp/b200/b200_io_impl.cpp @@ -1,5 +1,5 @@ // -// Copyright 2012-2014 Ettus Research LLC +// Copyright 2012-2015 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 @@ -135,7 +135,7 @@ void b200_impl::set_auto_tick_rate( if (!uhd::math::frequencies_are_equal(_tree->access<double>("/mboards/0/tick_rate").get(), new_rate)) { _tree->access<double>("/mboards/0/tick_rate").set(new_rate); } - } catch (const uhd::value_error &e) { + } catch (const uhd::value_error &) { UHD_MSG(warning) << "Cannot automatically determine an appropriate tick rate for these sampling rates." << std::endl << "Consider using different sampling rates, or manually specify a suitable master clock rate." << std::endl; |