From ecefbdd9ab245c1ef3ea8a8521ea79952f06dbe8 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 8 Jan 2021 13:21:00 +0100 Subject: lib: Fix warnings related to unnecessary lambda captures --- host/lib/usrp/x300/x300_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/usrp/x300') diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index fa8425fac..d9aff1a94 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -367,7 +367,7 @@ void x300_impl::setup_mb(const size_t mb_i, const uhd::device_addr_t& dev_addr) // require a clock rate of no more than the max pfd frequency to maintain phase // synchronization. If there is no UBX, the default daughterboard clock rate is half // of the master clock rate for X300. - const double x300_dboard_clock_rate = [this, dev_addr, mb]() -> double { + const double x300_dboard_clock_rate = [dev_addr, mb]() -> double { // Do not override use-specified dboard clock rates if (dev_addr.has_key("dboard_clock_rate")) { return mb.args.get_dboard_clock_rate(); -- cgit v1.2.3