]> git.saurik.com Git - wxWidgets.git/commitdiff
better way to silence unused parameter warning
authorPaul Cornett <paulcor@bullseye.com>
Fri, 28 Jan 2011 06:18:33 +0000 (06:18 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Fri, 28 Jan 2011 06:18:33 +0000 (06:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxcrt.h

index d095ff97b110780f1b69e3d1ff9d2d1cf72334cc..2c5dd24b505fa97de4d0ef04330c7453c9b4f91a 100644 (file)
@@ -879,8 +879,8 @@ inline double wxStrtod(const wxCStrData& nptr, T endptr)
     inline rettype name(const wchar_t *nptr, wchar_t **endptr, int base)      \
         { return implW(nptr, endptr, base); }                                 \
     template<typename T>                                                      \
-    inline rettype name(const wxScopedCharTypeBuffer<T>& nptr, T **endptr, int base)\
-        { wxUnusedVar(base); return name(nptr.data(), endptr); }              \
+    inline rettype name(const wxScopedCharTypeBuffer<T>& nptr, T **endptr, int)\
+        { return name(nptr.data(), endptr); }                                 \
     template<typename T>                                                      \
     inline rettype name(const wxString& nptr, T endptr, int base)             \
     {                                                                         \