1. more HP-UX warning fixes (almost done...)
2. added a macro WXUNUSED_UNLESS_DEBUG() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -77,7 +77,7 @@ struct wxCmdLineOption
|
||||
// types increases, so always use the accessor functions and don't access
|
||||
// the fields directly!)
|
||||
|
||||
void Check(wxCmdLineParamType typ) const
|
||||
void Check(wxCmdLineParamType WXUNUSED_UNLESS_DEBUG(typ)) const
|
||||
{
|
||||
wxASSERT_MSG( type == typ, _T("type mismatch in wxCmdLineOption") );
|
||||
}
|
||||
@@ -188,7 +188,7 @@ void wxCmdLineParserData::SetArguments(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
void wxCmdLineParserData::SetArguments(const wxString& cmdline)
|
||||
void wxCmdLineParserData::SetArguments(const wxString& WXUNUSED(cmdline))
|
||||
{
|
||||
// either use wxMSW wxApp::ConvertToStandardCommandArgs() or move its logic
|
||||
// here and use this method from it - but don't duplicate the code
|
||||
|
Reference in New Issue
Block a user