src/joystick/win32/SDL_dxjoystick.c
branchgsoc2008_force_feedback
changeset 2625 9bad8efcb75e
parent 2623 6deba05725ac
child 2652 380d926cc5a7
equal deleted inserted replaced
2624:c6476e26a783 2625:9bad8efcb75e
    96  */
    96  */
    97 int
    97 int
    98 SDL_SYS_JoystickInit(void)
    98 SDL_SYS_JoystickInit(void)
    99 {
    99 {
   100     HRESULT result;
   100     HRESULT result;
       
   101     HINSTANCE instance;
   101 
   102 
   102     SYS_NumJoysticks = 0;
   103     SYS_NumJoysticks = 0;
   103 
   104 
   104     result = CoInitialize(NULL);
   105     result = CoInitialize(NULL);
   105     if (FAILED(result)) {
   106     if (FAILED(result)) {