tv: initialize frequencies to 0

This commit is contained in:
Ben Boeckel 2014-08-27 18:33:12 -04:00 committed by wm4
parent 9780ff9642
commit 2a44e2d1b2
1 changed files with 2 additions and 2 deletions

View File

@ -637,7 +637,7 @@ int open_tv(tvi_handle_t *tvh)
/* grep frequency in chanlist */
{
unsigned long i2;
unsigned long i2 = 0;
int freq;
tv_get_freq(tvh, &i2);
@ -797,7 +797,7 @@ int tv_get_signal(tvi_handle_t *tvh)
*
*/
int tv_step_freq(tvi_handle_t* tvh, float step_interval){
unsigned long frequency;
unsigned long frequency = 0;
tvh->tv_param->scan=0;
tv_get_freq(tvh,&frequency);