diff options
author | Michael West <michael.west@ettus.com> | 2013-10-23 15:45:10 -0700 |
---|---|---|
committer | Michael West <michael.west@ettus.com> | 2013-10-23 15:45:10 -0700 |
commit | 0fd982e15fb503729b54693a02e0635700c51eee (patch) | |
tree | edb20a523951ca10dca22237e171d9b30626e03b /host/lib/types | |
parent | a2e4b7a88e141366a317a631ffe0a26bb0f8f375 (diff) | |
download | uhd-0fd982e15fb503729b54693a02e0635700c51eee.tar.gz uhd-0fd982e15fb503729b54693a02e0635700c51eee.tar.bz2 uhd-0fd982e15fb503729b54693a02e0635700c51eee.zip |
CID 1104300: Fixed uninitialized scalar
CID 1104299: Fixed uninitialized scalar
Diffstat (limited to 'host/lib/types')
-rw-r--r-- | host/lib/types/tune.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/host/lib/types/tune.cpp b/host/lib/types/tune.cpp index 154f0990f..7697bd966 100644 --- a/host/lib/types/tune.cpp +++ b/host/lib/types/tune.cpp @@ -24,7 +24,9 @@ using namespace uhd; tune_request_t::tune_request_t(double target_freq): target_freq(target_freq), rf_freq_policy(POLICY_AUTO), - dsp_freq_policy(POLICY_AUTO) + rf_freq(0.0), + dsp_freq_policy(POLICY_AUTO), + dsp_freq(0.0) { /* NOP */ } @@ -33,7 +35,8 @@ tune_request_t::tune_request_t(double target_freq, double lo_off): target_freq(target_freq), rf_freq_policy(POLICY_MANUAL), rf_freq(target_freq + lo_off), - dsp_freq_policy(POLICY_AUTO) + dsp_freq_policy(POLICY_AUTO), + dsp_freq(0.0) { /* NOP */ } |