From a57ea0102f67075861696d97e784c1b68f12fc51 Mon Sep 17 00:00:00 2001
From: Dimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Date: Sat, 17 Dec 2011 01:13:22 +0000
Subject: [PATCH] Fixed unreferenced parameter warning.

Parameter xmpData was unused in wxImage::Create when compiling with wxUSE_XPM set to 0.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 src/common/image.cpp | 1 +
 1 file changed, 1 insertion(+)

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
 }
-- 
2.47.2