From 33b69515240eb89d38a7b39f5a94cc9a3711f46a Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 10 Aug 2016 23:18:32 -0700 Subject: multi_usrp: Fixed compiler warning on read_register --- host/lib/usrp/multi_usrp.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'host') 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 enumerate_registers(const size_t mboard) -- cgit v1.2.3