[MPlayer-cvslog] r38077 - trunk/gui/win32/interface.c

ib subversion at mplayerhq.hu
Fri Apr 13 12:33:08 EEST 2018


Author: ib
Date: Fri Apr 13 12:33:08 2018
New Revision: 38077

Log:
Avoid warning in Win32 GUI.

Without CD and DVD support 'unix_device' is defined but not used.

Modified:
   trunk/gui/win32/interface.c

Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c	Fri Apr 13 12:02:51 2018	(r38076)
+++ trunk/gui/win32/interface.c	Fri Apr 13 12:33:08 2018	(r38077)
@@ -130,6 +130,7 @@ static char *unix_name (char *win_filena
     return win_filename;
 }
 
+#if defined(CONFIG_CDDA) || defined(CONFIG_DVDREAD)
 /**
  * @brief Convert a Windows style device name into an Unix style one.
  *
@@ -175,6 +176,7 @@ static char *unix_device (char *device)
     return device;
 }
 #endif
+#endif
 
 /* test for playlist files, no need to specify -playlist on the commandline.
  * add any conceivable playlist extensions here.


More information about the MPlayer-cvslog mailing list