steve-m / kalibrate-rtl

fork of http://thre.at/kalibrate/ for use with rtl-sdr devices
BSD 2-Clause "Simplified" License
488 stars 146 forks source link

usrp_source.cc:105: reading bad data ? #11

Closed dcb314 closed 9 years ago

dcb314 commented 9 years ago

usrp_source.cc:105:37: warning: variable 'decimation_f' is uninitialized when used here [-Wuninitialized]

float decimation_f;

// decimation_f = (float)m_u_rx->fpga_master_clock_freq() / m_desired_sample_rate; m_decimation = (unsigned int)round(decimation_f) & ~1;

steve-m commented 9 years ago

That function is dead code (it was only used for the USRP) and doesn't even get called.

dcb314 commented 9 years ago

That function is dead code (it was only used for the USRP) and doesn't even get called.

Suggest delete, then.