diff --git a/src/joystick/hidapi/SDL_hidapi_wii.c b/src/joystick/hidapi/SDL_hidapi_wii.c index 77e8ab83b..f7a8eb832 100644 --- a/src/joystick/hidapi/SDL_hidapi_wii.c +++ b/src/joystick/hidapi/SDL_hidapi_wii.c @@ -730,7 +730,6 @@ UpdateDeviceIdentity(SDL_HIDAPI_Device *device) case k_eWiiExtensionControllerType_Gamepad: name = "Nintendo Wii Remote with Classic Controller"; break; - break; case k_eWiiExtensionControllerType_WiiUPro: name = "Nintendo Wii U Pro Controller"; break; diff --git a/src/render/opengles2/SDL_shaders_gles2.h b/src/render/opengles2/SDL_shaders_gles2.h index df1f4441d..e975407ea 100644 --- a/src/render/opengles2/SDL_shaders_gles2.h +++ b/src/render/opengles2/SDL_shaders_gles2.h @@ -63,7 +63,7 @@ typedef enum const Uint8 *GLES2_GetShader(GLES2_ShaderType type); const Uint8 *GLES2_GetShaderInclude(GLES2_ShaderIncludeType type); -GLES2_ShaderIncludeType GLES2_GetTexCoordPrecisionEnumFromHint(); +GLES2_ShaderIncludeType GLES2_GetTexCoordPrecisionEnumFromHint(void); #endif /* SDL_VIDEO_RENDER_OGL_ES2 */