mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 14:08:19 +00:00
Don't return from void methods
This commit is contained in:
parent
c4f68f50ea
commit
0a505c25d7
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue