X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b12da351c59ebfb7d375f4de6b4bc79a9825045..ffb9247a85e83dcc4da631b76d0b86c0b2192676:/include/wx/strvararg.h diff --git a/include/wx/strvararg.h b/include/wx/strvararg.h index db91346e67..7dc6612171 100644 --- a/include/wx/strvararg.h +++ b/include/wx/strvararg.h @@ -318,7 +318,11 @@ struct wxFormatStringArgumentFinder "format specifier doesn't match argument type" ); \ } while ( wxFalse ) #else - #define wxASSERT_ARG_TYPE(fmt, index, expected_mask) + // Just define it to suppress "unused parameter" warnings for the + // parameters which we don't use otherwise + #define wxASSERT_ARG_TYPE(fmt, index, expected_mask) \ + wxUnusedVar(fmt); \ + wxUnusedVar(index) #endif // wxDEBUG_LEVEL/!wxDEBUG_LEVEL