changeset 24840:ccec024aeb92

Remove unused variables.
author zuxy
date Sat, 27 Oct 2007 13:00:58 +0000
parents 69f5bb02b659
children 44540930bf94
files libvo/vo_directx.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_directx.c	Sat Oct 27 12:50:21 2007 +0000
+++ b/libvo/vo_directx.c	Sat Oct 27 13:00:58 2007 +0000
@@ -417,7 +417,6 @@
 static uint32_t Directx_InitDirectDraw()
 {
 	HRESULT    (WINAPI *OurDirectDrawCreateEx)(GUID *,LPVOID *, REFIID,IUnknown FAR *);
- 	LPDIRECTDRAW lpDDraw;
 	DDSURFACEDESC2 ddsd;
 	LPDIRECTDRAWENUMERATEEX OurDirectDrawEnumerateEx;
 	HINSTANCE user32dll=LoadLibrary("user32.dll");
@@ -1122,7 +1121,7 @@
 {
 	uint8_t *s;
     uint8_t *d;
-    uint32_t i=0, uvstride=dstride/2;
+    uint32_t uvstride=dstride/2;
 	// copy Y
     d=image+dstride*y+x;                
     s=src[0];                           
@@ -1237,7 +1236,6 @@
   
 static uint32_t put_image(mp_image_t *mpi){
 
-    uint32_t  i = 0;
     uint8_t   *d;
 	uint8_t   *s;
     uint32_t x = mpi->x;