[MPlayer-cvslog] r27820 - trunk/stream/dvb_tune.c

diego subversion at mplayerhq.hu
Fri Oct 24 11:13:05 CEST 2008


Author: diego
Date: Fri Oct 24 11:13:04 2008
New Revision: 27820

Log:
Conditionally declare a conditionally used variable, fixes the warning:
stream/dvb_tune.c:99: warning: unused variable 'sec_dev'


Modified:
   trunk/stream/dvb_tune.c

Modified: trunk/stream/dvb_tune.c
==============================================================================
--- trunk/stream/dvb_tune.c	(original)
+++ trunk/stream/dvb_tune.c	Fri Oct 24 11:13:04 2008
@@ -96,7 +96,10 @@ int dvb_set_ts_filt(int fd, uint16_t pid
 int dvb_open_devices(dvb_priv_t *priv, int n, int demux_cnt)
 {
 	int i;
-	char frontend_dev[32], dvr_dev[32], demux_dev[32], sec_dev[32];
+	char frontend_dev[32], dvr_dev[32], demux_dev[32];
+#ifndef CONFIG_DVB_HEAD
+	char sec_dev[32];
+#endif
 
 #ifdef CONFIG_DVB_HEAD
 	sprintf(frontend_dev, "/dev/dvb/adapter%d/frontend0", n);



More information about the MPlayer-cvslog mailing list