[vlc-commits] commit: DirectX: kill a warning from unused variable (Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Sun Aug 15 01:32:10 CEST 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 15 01:29:19 2010 +0200| [1bfc1c42dfd68f873a844bb5c4779815d07f50c6] | committer: Jean-Baptiste Kempf
DirectX: kill a warning from unused variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1bfc1c42dfd68f873a844bb5c4779815d07f50c6
---
modules/video_output/msw/directx.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/msw/directx.c b/modules/video_output/msw/directx.c
index ff1d19b..1ea1ac8 100644
--- a/modules/video_output/msw/directx.c
+++ b/modules/video_output/msw/directx.c
@@ -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,
More information about the vlc-commits
mailing list