소스 검색

Removed unused variable

Sam Lantinga 3 년 전
부모
커밋
dfd2c574d7
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/joystick/hidapi/SDL_hidapi_switch.c

+ 0 - 2
src/joystick/hidapi/SDL_hidapi_switch.c

@@ -1116,8 +1116,6 @@ ReadJoyConControllerType(SDL_HIDAPI_Device *device)
 
         device->dev = SDL_hid_open_path(device->path, 0);
         if (device->dev) {
-            SwitchSubcommandInputPacket_t *reply = NULL;
-
             if (WriteProprietarySync(ctx, k_eSwitchProprietaryCommandIDs_Status, NULL, 0, SDL_TRUE)) {
                 SwitchProprietaryStatusPacket_t *status = (SwitchProprietaryStatusPacket_t *)&ctx->m_rgucReadBuffer[0];