vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | 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,

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to