From 548bef02cafec8778f64b4c2348dc828f7cca83e Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 22 Jun 2021 12:24:33 +0200 Subject: zbx: Fix clang compiler warnings - Missing override - Superfluous 'this' lambda capture - Register state in zbx_cpld_ctrl was being initialized too late (this is actually a bug depending on compiler version) - Remove lots of unused fields from experts --- host/lib/usrp/dboard/zbx/zbx_lo_ctrl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'host/lib/usrp/dboard/zbx/zbx_lo_ctrl.cpp') diff --git a/host/lib/usrp/dboard/zbx/zbx_lo_ctrl.cpp b/host/lib/usrp/dboard/zbx/zbx_lo_ctrl.cpp index 1af665207..4fe2a243d 100644 --- a/host/lib/usrp/dboard/zbx/zbx_lo_ctrl.cpp +++ b/host/lib/usrp/dboard/zbx/zbx_lo_ctrl.cpp @@ -18,8 +18,7 @@ zbx_lo_ctrl::zbx_lo_ctrl(zbx_lo_t lo, const double default_frequency, const double db_prc_rate, const bool testing_mode_enabled) - : _lo(lo) - , _log_id(ZBX_LO_LOG_ID.at(lo)) + : _log_id(ZBX_LO_LOG_ID.at(lo)) , _freq(default_frequency) , _db_prc_rate(db_prc_rate) , _testing_mode_enabled(testing_mode_enabled) -- cgit v1.2.3