Fix harmless gcc warning advising braces around empty "if" body

Add them just to silence the compiler.
This commit is contained in:
Maarten Bent
2015-10-16 17:12:03 +02:00
committed by Vadim Zeitlin
parent 0b1bc6b0b1
commit 5cfaf2f898

View File

@@ -3476,7 +3476,9 @@ wxD2DRenderer::wxD2DRenderer()
result = D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, &m_direct2dFactory);
if (FAILED(result))
{
wxFAIL_MSG("Could not create Direct2D Factory.");
}
}
wxD2DRenderer::~wxD2DRenderer()