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_rfx.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_rfx.cpp')
-rw-r--r-- | host/lib/usrp/dboard/db_rfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard/db_rfx.cpp b/host/lib/usrp/dboard/db_rfx.cpp index bbc9716b1..3b3b96fad 100644 --- a/host/lib/usrp/dboard/db_rfx.cpp +++ b/host/lib/usrp/dboard/db_rfx.cpp @@ -258,8 +258,8 @@ double rfx_xcvr::set_lo_freq( (8, adf4360_regs_t::BAND_SELECT_CLOCK_DIV_8) ; - double actual_freq, ref_freq = this->get_iface()->get_clock_rate(unit); - int R, BS, P, B, A; + double actual_freq=0, ref_freq = this->get_iface()->get_clock_rate(unit); + int R=0, BS=0, P=0, B=0, A=0; /* * The goal here to to loop though possible R dividers, |