]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed unreferenced parameter warning.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Sat, 17 Dec 2011 01:13:22 +0000 (01:13 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Sat, 17 Dec 2011 01:13:22 +0000 (01:13 +0000)
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

index ebb8931854b6ee6b068e76cd696ab786efcd9ef2..62597542fd95dfaf2c759b93a8664c498486ccfd 100644 (file)
@@ -142,6 +142,7 @@ bool wxImage::Create(const char* const* xpmData)
     (*this) = decoder.ReadData(xpmData);
     return IsOk();
 #else
+    wxUnusedVar(xpmData);
     return false;
 #endif
 }