changeset 31800:20e5447d78f9

Initialize conf_file variable to kill the warning: stream/stream_dvb.c:755: warning: 'conf_file' may be used uninitialized in this function Blessed and suggested by Nico Sabbi.
author diego
date Sat, 31 Jul 2010 16:43:20 +0000
parents fe2e3c755706
children 8187612b1af8
files stream/stream_dvb.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvb.c	Sat Jul 31 16:15:36 2010 +0000
+++ b/stream/stream_dvb.c	Sat Jul 31 16:43:20 2010 +0000
@@ -783,6 +783,7 @@
 			continue;
 		}
 
+		conf_file = get_path("channels.conf");
 		switch(type)
 		{
 			case TUNER_TER: