]> git.sesse.net Git - vlc/commitdiff
DirectX: kill a warning from unused variable
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 14 Aug 2010 23:29:19 +0000 (01:29 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 14 Aug 2010 23:29:19 +0000 (01:29 +0200)
modules/video_output/msw/directx.c

index ff1d19ba703ba55da0e76ceece18fe8b9b22c310..1ea1ac828062de8bd4bc1e52690f54b5c6fd092f 100644 (file)
@@ -962,6 +962,7 @@ static int DirectXLockSurface(LPDIRECTDRAWSURFACE2 front_surface,
 static void DirectXUnlockSurface(LPDIRECTDRAWSURFACE2 front_surface,
                                  LPDIRECTDRAWSURFACE2 surface)
 {
+    VLC_UNUSED(front_surface);
     IDirectDrawSurface2_Unlock(surface, NULL);
 }
 static int DirectXCheckLockingSurface(LPDIRECTDRAWSURFACE2 front_surface,