From c175b3163038d1ac88aa19df8500a570a6508431 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Wed, 21 Jul 2021 07:21:29 +0200 Subject: [PATCH] Suppress "parameter unused" error in some builds --- tests/graphics/clippingbox.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/graphics/clippingbox.cpp b/tests/graphics/clippingbox.cpp index b933b4d08b..ad1e556a20 100644 --- a/tests/graphics/clippingbox.cpp +++ b/tests/graphics/clippingbox.cpp @@ -284,6 +284,8 @@ static void FlushDC(wxDC& dc) dc.SetGraphicsContext(NULL); #endif // __WXMSW__ && wxUSE_GRAPHICS_DIRECT2D } +#else + wxUnusedVar(dc); #endif // wxUSE_GRAPHICS_CONTEXT }