summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvb.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-07-31 16:43:20 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:14:46 +0200
commitda1135a96dc6d8ee8daa246019bbdfd784422011 (patch)
tree3d0ab999dadce143eb06aa83b0e3229cff7163b6 /stream/stream_dvb.c
parent900ca4cb3e4ce80050f0f53033eb8ae2f61bcb69 (diff)
downloadmpv-da1135a96dc6d8ee8daa246019bbdfd784422011.tar.bz2
mpv-da1135a96dc6d8ee8daa246019bbdfd784422011.tar.xz
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
Diffstat (limited to 'stream/stream_dvb.c')
-rw-r--r--stream/stream_dvb.c1
1 files changed, 1 insertions, 0 deletions
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: