# HG changeset patch # User zuxy # Date 1193490058 0 # Node ID ccec024aeb924427021d45b50b482fb2710f6b86 # Parent 69f5bb02b65917c6fda1a1a1c3839bd363b505ff Remove unused variables. diff -r 69f5bb02b659 -r ccec024aeb92 libvo/vo_directx.c --- 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;