diff --git a/src/engine/client/backend_sdl.cpp b/src/engine/client/backend_sdl.cpp index 1de4f34c2..41020b61d 100644 --- a/src/engine/client/backend_sdl.cpp +++ b/src/engine/client/backend_sdl.cpp @@ -423,7 +423,7 @@ const SGfxErrorContainer &CCommandProcessor_SDL_GL::GetError() const void CCommandProcessor_SDL_GL::ErroneousCleanup() { - return m_pGLBackend->ErroneousCleanup(); + m_pGLBackend->ErroneousCleanup(); } const SGfxWarningContainer &CCommandProcessor_SDL_GL::GetWarning() const diff --git a/src/engine/client/graphics_threaded.cpp b/src/engine/client/graphics_threaded.cpp index ec2642fd6..4d7ab860a 100644 --- a/src/engine/client/graphics_threaded.cpp +++ b/src/engine/client/graphics_threaded.cpp @@ -2784,12 +2784,12 @@ int CGraphics_Threaded::WindowOpen() void CGraphics_Threaded::SetWindowGrab(bool Grab) { - return m_pBackend->SetWindowGrab(Grab); + m_pBackend->SetWindowGrab(Grab); } void CGraphics_Threaded::NotifyWindow() { - return m_pBackend->NotifyWindow(); + m_pBackend->NotifyWindow(); } void CGraphics_Threaded::ReadPixel(ivec2 Position, ColorRGBA *pColor) diff --git a/src/engine/client/input.cpp b/src/engine/client/input.cpp index 96f5f42cc..bf8bb179a 100644 --- a/src/engine/client/input.cpp +++ b/src/engine/client/input.cpp @@ -216,7 +216,7 @@ void CInput::CJoystick::GetJoystickHatKeys(int Hat, int HatValue, int (&HatKeys) void CInput::CJoystick::GetHatValue(int Hat, int (&HatKeys)[2]) { - return GetJoystickHatKeys(Hat, SDL_JoystickGetHat(m_pDelegate, Hat), HatKeys); + GetJoystickHatKeys(Hat, SDL_JoystickGetHat(m_pDelegate, Hat), HatKeys); } bool CInput::CJoystick::Relative(float *pX, float *pY)