aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-08-10 23:18:32 -0700
committerMartin Braun <martin.braun@ettus.com>2016-08-11 11:18:00 -0700
commit33b69515240eb89d38a7b39f5a94cc9a3711f46a (patch)
treea526d12c9d3ab7448f39a0bfeb398e23aaf24d2e /host
parent8876bc8aea9e5a32c7e47625baad705c9503bc79 (diff)
downloaduhd-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.cpp3
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)