From da1135a96dc6d8ee8daa246019bbdfd784422011 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 31 Jul 2010 16:43:20 +0000 Subject: stream_dvb.c: avoid compiler warning by adding initialization 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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31877 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream_dvb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c index c2e34d3d35..ed8c1b81ec 100644 --- a/stream/stream_dvb.c +++ b/stream/stream_dvb.c @@ -782,6 +782,7 @@ dvb_config_t *dvb_get_config(void) continue; } + conf_file = get_path("channels.conf"); switch(type) { case TUNER_TER: -- cgit v1.2.3