Kaydet (Commit) 6183a945 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

False loplugin:staticmethods

Change-Id: Icc026ebb422c299caca6c24d6a56416076589fc8
üst deca1830
......@@ -1330,6 +1330,7 @@ bool OpenGLContext::isCurrent()
return (wglGetCurrentContext() == m_aGLWin.hRC &&
wglGetCurrentDC() == m_aGLWin.hDC);
#elif defined( MACOSX )
(void) this; // loplugin:staticmethods
return false;
#elif defined( IOS ) || defined( ANDROID ) || defined(LIBO_HEADLESS)
return false;
......@@ -1409,6 +1410,7 @@ void OpenGLContext::resetCurrent()
#if defined( WNT )
wglMakeCurrent( m_aGLWin.hDC, 0 );
#elif defined( MACOSX )
(void) this; // loplugin:staticmethods
OpenGLWrapper::resetCurrent();
#elif defined( IOS ) || defined( ANDROID ) || defined(LIBO_HEADLESS)
// nothing
......@@ -1436,6 +1438,7 @@ void OpenGLContext::sync()
#if defined( WNT )
// nothing
#elif defined( MACOSX ) || defined( IOS ) || defined( ANDROID ) || defined(LIBO_HEADLESS)
(void) this; // loplugin:staticmethods
// nothing
#elif defined( UNX )
glXWaitGL();
......
......@@ -335,6 +335,7 @@ bool OutputDevice::SupportsCairo() const
return mpGraphics->SupportsCairo();
#else
(void) this; // loplugin:staticmethods
return false;
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment