From 7f415ce5879ad607b33e644e4b9e34ededfa51b2 Mon Sep 17 00:00:00 2001 From: Amir Date: Mon, 12 Sep 2022 20:09:00 +0400 Subject: [PATCH] android: fix some compiler warnings --- src/joystick/hidapi/SDL_hidapi_wii.c | 1 - src/render/opengles2/SDL_shaders_gles2.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 */