Fix harmless gcc warning advising braces around empty "if" body
Add them just to silence the compiler.
This commit is contained in:
committed by
Vadim Zeitlin
parent
0b1bc6b0b1
commit
5cfaf2f898
@@ -3476,7 +3476,9 @@ wxD2DRenderer::wxD2DRenderer()
|
|||||||
result = D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, &m_direct2dFactory);
|
result = D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, &m_direct2dFactory);
|
||||||
|
|
||||||
if (FAILED(result))
|
if (FAILED(result))
|
||||||
|
{
|
||||||
wxFAIL_MSG("Could not create Direct2D Factory.");
|
wxFAIL_MSG("Could not create Direct2D Factory.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
wxD2DRenderer::~wxD2DRenderer()
|
wxD2DRenderer::~wxD2DRenderer()
|
||||||
|
Reference in New Issue
Block a user