From 0445b3eddda6c710480b9aac388c44c511e39864 Mon Sep 17 00:00:00 2001 From: Jeff Bland Date: Fri, 18 May 2018 06:50:58 -0600 Subject: [PATCH] Fix extraneous parens warning --- src/common/imagbmp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/imagbmp.cpp b/src/common/imagbmp.cpp index 200c4ea6c0..41e9e86dee 100644 --- a/src/common/imagbmp.cpp +++ b/src/common/imagbmp.cpp @@ -129,7 +129,7 @@ bool wxBMPHandler::SaveDib(wxImage *image, (format == wxBMP_8BPP_RED) || (format == wxBMP_8BPP_PALETTE) ) { // need to set a wxPalette to use this, HOW TO CHECK IF VALID, SIZE? - if ((format == wxBMP_8BPP_PALETTE) + if (format == wxBMP_8BPP_PALETTE #if wxUSE_PALETTE && !image->HasPalette() #endif // wxUSE_PALETTE