Mercurial > mplayer.hg
comparison stream/stream_dvb.c @ 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 | 76a13038105e |
children | b39155e98ac3 |
comparison
equal
deleted
inserted
replaced
31799:fe2e3c755706 | 31800:20e5447d78f9 |
---|---|
781 { | 781 { |
782 mp_msg(MSGT_DEMUX, MSGL_V, "DVB_CONFIG, can't detect tuner type of card %d, skipping\n", i); | 782 mp_msg(MSGT_DEMUX, MSGL_V, "DVB_CONFIG, can't detect tuner type of card %d, skipping\n", i); |
783 continue; | 783 continue; |
784 } | 784 } |
785 | 785 |
786 conf_file = get_path("channels.conf"); | |
786 switch(type) | 787 switch(type) |
787 { | 788 { |
788 case TUNER_TER: | 789 case TUNER_TER: |
789 conf_file = get_path("channels.conf.ter"); | 790 conf_file = get_path("channels.conf.ter"); |
790 break; | 791 break; |