[MPlayer-cvslog] r31877 - trunk/stream/stream_dvb.c

diego subversion at mplayerhq.hu
Sat Jul 31 18:43:20 CEST 2010


Author: diego
Date: Sat Jul 31 18:43:20 2010
New Revision: 31877

Log:
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.

Modified:
   trunk/stream/stream_dvb.c

Modified: trunk/stream/stream_dvb.c
==============================================================================
--- trunk/stream/stream_dvb.c	Sat Jul 31 18:15:36 2010	(r31876)
+++ trunk/stream/stream_dvb.c	Sat Jul 31 18:43:20 2010	(r31877)
@@ -783,6 +783,7 @@ dvb_config_t *dvb_get_config(void)
 			continue;
 		}
 
+		conf_file = get_path("channels.conf");
 		switch(type)
 		{
 			case TUNER_TER:


More information about the MPlayer-cvslog mailing list