diff --git a/src/common/image.cpp b/src/common/image.cpp index ebb8931854..62597542fd 100644 --- a/src/common/image.cpp +++ b/src/common/image.cpp @@ -142,6 +142,7 @@ bool wxImage::Create(const char* const* xpmData) (*this) = decoder.ReadData(xpmData); return IsOk(); #else + wxUnusedVar(xpmData); return false; #endif }