From 721085e1ab8094cb085a4472e6c5985a9df8dfc3 Mon Sep 17 00:00:00 2001 From: Steve Markgraf Date: Wed, 25 Apr 2012 22:47:30 +0200 Subject: [PATCH] fix a -Wuninitialized warning Signed-off-by: Steve Markgraf --- src/tuner_fc2580.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tuner_fc2580.c b/src/tuner_fc2580.c index abf8513..d2eeba5 100644 --- a/src/tuner_fc2580.c +++ b/src/tuner_fc2580.c @@ -371,7 +371,7 @@ fc2580_fci_result_type fc2580_set_freq( void *pTuner, unsigned int f_lo, unsigne ==============================================================================*/ fc2580_fci_result_type fc2580_set_filter( void *pTuner, unsigned char filter_bw, unsigned int freq_xtal ) { - unsigned char cal_mon, i; + unsigned char cal_mon = 0, i; fc2580_fci_result_type result = FC2580_FCI_SUCCESS; if(filter_bw == 1)