mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
900ca4cb3e
commit
da1135a96d
|
@ -782,6 +782,7 @@ dvb_config_t *dvb_get_config(void)
|
|||
continue;
|
||||
}
|
||||
|
||||
conf_file = get_path("channels.conf");
|
||||
switch(type)
|
||||
{
|
||||
case TUNER_TER:
|
||||
|
|
Loading…
Reference in New Issue