summaryrefslogtreecommitdiff
path: root/usrp/host/lib
diff options
context:
space:
mode:
authorEric Blossom2010-08-04 11:05:38 -0700
committerEric Blossom2010-08-04 11:05:38 -0700
commit8648ea8aaed8c74c9fd3265462956637628fbc41 (patch)
tree46c9f8773624eb4c355d5232c6061b0777ca34c4 /usrp/host/lib
parent0a9b999b5cce596f4de05828005f698047e14ce9 (diff)
downloadgnuradio-8648ea8aaed8c74c9fd3265462956637628fbc41.tar.gz
gnuradio-8648ea8aaed8c74c9fd3265462956637628fbc41.tar.bz2
gnuradio-8648ea8aaed8c74c9fd3265462956637628fbc41.zip
Fix unitialized variable pointed to by compiler warning
Diffstat (limited to 'usrp/host/lib')
-rw-r--r--usrp/host/lib/db_wbxng_adf4350_regs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usrp/host/lib/db_wbxng_adf4350_regs.cc b/usrp/host/lib/db_wbxng_adf4350_regs.cc
index aa13d50b9..997f6e1ff 100644
--- a/usrp/host/lib/db_wbxng_adf4350_regs.cc
+++ b/usrp/host/lib/db_wbxng_adf4350_regs.cc
@@ -82,7 +82,7 @@ adf4350_regs::_reg_shift(uint32_t data, uint32_t shift){
uint32_t
adf4350_regs::compute_register(uint8_t addr){
- uint32_t data;
+ uint32_t data = 0;
switch (addr){
case 0: data = (
_reg_shift(d_int, 15) |