[MPlayer-cvslog] r27754 - trunk/libvo/vo_gl2.c

diego subversion at mplayerhq.hu
Mon Oct 13 16:40:58 CEST 2008


Author: diego
Date: Mon Oct 13 16:40:58 2008
New Revision: 27754

Log:
Surround conditionally used function with corresponding #ifdef, fixes:
libvo/vo_gl2.c:681: warning: 'gl_handlekey' defined but not used


Modified:
   trunk/libvo/vo_gl2.c

Modified: trunk/libvo/vo_gl2.c
==============================================================================
--- trunk/libvo/vo_gl2.c	(original)
+++ trunk/libvo/vo_gl2.c	Mon Oct 13 16:40:58 2008
@@ -677,6 +677,7 @@ config(uint32_t width, uint32_t height, 
   return 0;
 }
 
+#ifndef GL_WIN32
 static int gl_handlekey(int key)
 {
   if(key=='a'||key=='A') {
@@ -688,6 +689,7 @@ static int gl_handlekey(int key)
   }
   return 1;
 }
+#endif
 
 static void check_events(void)
 {



More information about the MPlayer-cvslog mailing list