From d5040bf96bd3d6f97c16f525ff16fd0a4b27bad6 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 23 Oct 2006 11:26:40 +0000 Subject: Remove a declaration-after-statement warning. patch by Zuxy Meng, zuxy.meng gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20410 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_directx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libvo') diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c index 4d3417a107..023f0e72f7 100644 --- a/libvo/vo_directx.c +++ b/libvo/vo_directx.c @@ -1015,9 +1015,10 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM l } case WM_MOUSEWHEEL: { + int x; if (vo_nomouse_input) break; - int x = GET_WHEEL_DELTA_WPARAM(wParam); + x = GET_WHEEL_DELTA_WPARAM(wParam); if (x > 0) mplayer_put_key(MOUSE_BTN3); else -- cgit v1.2.3