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/rfnoc/duc_block_control.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/lib/rfnoc/duc_block_control.cpp') diff --git a/host/lib/rfnoc/duc_block_control.cpp b/host/lib/rfnoc/duc_block_control.cpp index f78274067..87f6500a2 100644 --- a/host/lib/rfnoc/duc_block_control.cpp +++ b/host/lib/rfnoc/duc_block_control.cpp @@ -318,6 +318,7 @@ private: &interp = *interp, &samp_rate_out = *samp_rate_out, &samp_rate_in = *samp_rate_in]() { + const auto UHD_UNUSED(log_chan) = chan; RFNOC_LOG_TRACE("Calling resolver for `samp_rate_in'@" << chan); if (samp_rate_in.is_valid()) { RFNOC_LOG_TRACE("New samp_rate_in is " << samp_rate_in.get()); @@ -347,6 +348,7 @@ private: &freq = *freq, &samp_rate_out = *samp_rate_out, &samp_rate_in = *samp_rate_in]() { + const auto UHD_UNUSED(log_chan) = chan; RFNOC_LOG_TRACE("Calling resolver for `samp_rate_out'@" << chan); if (samp_rate_out.is_valid()) { // If interp is changed, that will take care of scaling -- cgit v1.2.3