Fix unitialized variable pointed to by compiler warning

This commit is contained in:
Eric Blossom 2010-08-04 11:05:38 -07:00
parent 0994dfe70c
commit 50684991ff
1 changed files with 1 additions and 1 deletions

View File

@ -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) |