Unused parameters warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-07-15 06:27:13 +00:00
parent f5dd1cf1eb
commit 9d6eda5f3d
3 changed files with 16 additions and 16 deletions

View File

@@ -327,7 +327,7 @@ protected:
// return FALSE, if something has gone wrong and // return FALSE, if something has gone wrong and
// document cannot be saved now // document cannot be saved now
virtual bool OnSaveDocument( ScriptStream& stm ) virtual bool OnSaveDocument( ScriptStream& WXUNUSED(stm) )
{ return 1; } { return 1; }
// override this method to provide reference to // override this method to provide reference to

View File

@@ -202,25 +202,25 @@ public:
// multiple times by variouse visitors (there can // multiple times by variouse visitors (there can
// be more the one visitor visiting content at a time) // be more the one visitor visiting content at a time)
virtual void VisitFile( spFile& fl ) {} virtual void VisitFile( spFile& WXUNUSED(fl) ) {}
virtual void VisitNameSpace( spNameSpace& ns ) {} virtual void VisitNameSpace( spNameSpace& WXUNUSED(ns) ) {}
virtual void VisitClass( spClass& cl ) {} virtual void VisitClass( spClass& WXUNUSED(cl) ) {}
virtual void VisitEnumeration( spEnumeration& en ) {} virtual void VisitEnumeration( spEnumeration& WXUNUSED(en) ) {}
virtual void VisitTypeDef( spTypeDef& td ) {} virtual void VisitTypeDef( spTypeDef& WXUNUSED(td) ) {}
virtual void VisitPreprocessorLine( spPreprocessorLine& pd ) {} virtual void VisitPreprocessorLine( spPreprocessorLine& WXUNUSED(pd) ) {}
virtual void VisitAttribute( spAttribute& attr ) {} virtual void VisitAttribute( spAttribute& WXUNUSED(attr) ) {}
virtual void VisitOperation( spOperation& op ) {} virtual void VisitOperation( spOperation& WXUNUSED(op) ) {}
virtual void VisitParameter( spParameter& param ) {} virtual void VisitParameter( spParameter& WXUNUSED(param) ) {}
virtual void VisitCustomContext( spContext& ctx ) {} virtual void VisitCustomContext( spContext& WXUNUSED(ctx) ) {}
}; };
// stores one section of comments, // stores one section of comments,

View File

@@ -186,7 +186,7 @@ protected:\
\ \
protected:\ protected:\
\ \
inline void quick_sort(int low, int hi) \ inline void quick_sort(int WXUNUSED(low), int WXUNUSED(hi)) \
{\ {\
}\ }\
\ \
@@ -337,7 +337,7 @@ public:\
\ \
inline const_reference back() const { return (*(mpEnd-1)); }\ inline const_reference back() const { return (*(mpEnd-1)); }\
\ \
inline void reserve(size_type n) {}\ inline void reserve(size_type WXUNUSED(n)) {}\
\ \
inline void push_back(const value_type& x)\ inline void push_back(const value_type& x)\
{\ {\
@@ -558,11 +558,11 @@ protected:\
\ \
protected:\ protected:\
\ \
inline void quick_sort(int low, int hi) \ inline void quick_sort(int WXUNUSED(low), int WXUNUSED(hi)) \
{\ {\
}\ }\
\ \
inline void DestructRange( iterator first, iterator last )\ inline void DestructRange( iterator WXUNUSED(first), iterator WXUNUSED(last))\
{\ {\
}\ }\
\ \
@@ -702,7 +702,7 @@ public:\
\ \
inline const_reference back() const { return (*(mpEnd-1)); }\ inline const_reference back() const { return (*(mpEnd-1)); }\
\ \
inline void reserve(size_type n) {}\ inline void reserve(size_type WXUNUSED(n)) {}\
\ \
inline void push_back(const value_type& x)\ inline void push_back(const value_type& x)\
{\ {\