diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-08-10 23:18:32 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-08-11 11:18:00 -0700 |
commit | 33b69515240eb89d38a7b39f5a94cc9a3711f46a (patch) | |
tree | a526d12c9d3ab7448f39a0bfeb398e23aaf24d2e /host | |
parent | 8876bc8aea9e5a32c7e47625baad705c9503bc79 (diff) | |
download | uhd-33b69515240eb89d38a7b39f5a94cc9a3711f46a.tar.gz uhd-33b69515240eb89d38a7b39f5a94cc9a3711f46a.tar.bz2 uhd-33b69515240eb89d38a7b39f5a94cc9a3711f46a.zip |
multi_usrp: Fixed compiler warning on read_register
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/usrp/multi_usrp.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp index cb1ba8784..7905a6d32 100644 --- a/host/lib/usrp/multi_usrp.cpp +++ b/host/lib/usrp/multi_usrp.cpp @@ -1652,9 +1652,8 @@ public: default: throw uhd::assertion_error("multi_usrp::read_register - register has invalid bitwidth: " + path); } - } else { - throw uhd::not_implemented_error("multi_usrp::read_register - register IO not supported for this device"); } + throw uhd::not_implemented_error("multi_usrp::read_register - register IO not supported for this device"); } std::vector<std::string> enumerate_registers(const size_t mboard) |