From 5cfaf2f898bc7fb0fa594e8b09756c2f07acf996 Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Fri, 16 Oct 2015 17:12:03 +0200 Subject: [PATCH] Fix harmless gcc warning advising braces around empty "if" body Add them just to silence the compiler. --- src/msw/graphicsd2d.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/msw/graphicsd2d.cpp b/src/msw/graphicsd2d.cpp index 9eb36a11a2..7cc736ea98 100644 --- a/src/msw/graphicsd2d.cpp +++ b/src/msw/graphicsd2d.cpp @@ -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()