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 ff1d19b..1ea1ac8 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,