# HG changeset patch # User Edgar Simo # Date 1218016551 0 # Node ID 9bad8efcb75e984fd1ebfebcd7c324a181a7ca6f # Parent c6476e26a783f0af91cc1f0f83edb45db0198d8d Forgot to declare instance. diff -r c6476e26a783 -r 9bad8efcb75e src/joystick/win32/SDL_dxjoystick.c --- a/src/joystick/win32/SDL_dxjoystick.c Wed Aug 06 09:55:29 2008 +0000 +++ b/src/joystick/win32/SDL_dxjoystick.c Wed Aug 06 09:55:51 2008 +0000 @@ -98,6 +98,7 @@ SDL_SYS_JoystickInit(void) { HRESULT result; + HINSTANCE instance; SYS_NumJoysticks = 0;