diff options
author | Josh Blum <josh@joshknows.com> | 2010-05-18 18:27:49 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-05-18 18:27:49 -0700 |
commit | 5aac700bc675c913b75b5fd791d9cf92949ceeea (patch) | |
tree | 19ca356f6ad49f71b4a7f1e2eb9e344059cc6402 /host/lib/usrp/dboard/db_wbx.cpp | |
parent | 4db60e8d0e2cd227308a401fa185f209ea61ab6b (diff) | |
download | uhd-5aac700bc675c913b75b5fd791d9cf92949ceeea.tar.gz uhd-5aac700bc675c913b75b5fd791d9cf92949ceeea.tar.bz2 uhd-5aac700bc675c913b75b5fd791d9cf92949ceeea.zip |
init values in dboards to remove gcc warnings
Diffstat (limited to 'host/lib/usrp/dboard/db_wbx.cpp')
-rw-r--r-- | host/lib/usrp/dboard/db_wbx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/db_wbx.cpp b/host/lib/usrp/dboard/db_wbx.cpp index 2a8a3a9f2..81edf7a11 100644 --- a/host/lib/usrp/dboard/db_wbx.cpp +++ b/host/lib/usrp/dboard/db_wbx.cpp @@ -303,7 +303,7 @@ double wbx_xcvr::set_lo_freq( double actual_freq, pfd_freq; double ref_freq = this->get_iface()->get_clock_rate(unit); - int R, BS, N, FRAC, MOD; + int R=0, BS=0, N=0, FRAC=0, MOD=0; int RFdiv = 1; adf4350_regs_t::reference_divide_by_2_t T = adf4350_regs_t::REFERENCE_DIVIDE_BY_2_DISABLED; adf4350_regs_t::reference_doubler_t D = adf4350_regs_t::REFERENCE_DOUBLER_DISABLED; |