diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-06-22 12:24:33 +0200 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-06-22 15:07:02 -0500 |
commit | 548bef02cafec8778f64b4c2348dc828f7cca83e (patch) | |
tree | 4df89984a4b3576fe6379e272f9aa8f99e36e263 /host/lib/usrp/dboard/zbx/zbx_lo_ctrl.cpp | |
parent | c399ab8a9b69bca19843eac9ef6cf8e89f816bc4 (diff) | |
download | uhd-548bef02cafec8778f64b4c2348dc828f7cca83e.tar.gz uhd-548bef02cafec8778f64b4c2348dc828f7cca83e.tar.bz2 uhd-548bef02cafec8778f64b4c2348dc828f7cca83e.zip |
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
Diffstat (limited to 'host/lib/usrp/dboard/zbx/zbx_lo_ctrl.cpp')
-rw-r--r-- | host/lib/usrp/dboard/zbx/zbx_lo_ctrl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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) |