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:
parent
f5dd1cf1eb
commit
9d6eda5f3d
@ -327,7 +327,7 @@ protected:
|
||||
// return FALSE, if something has gone wrong and
|
||||
// document cannot be saved now
|
||||
|
||||
virtual bool OnSaveDocument( ScriptStream& stm )
|
||||
virtual bool OnSaveDocument( ScriptStream& WXUNUSED(stm) )
|
||||
{ return 1; }
|
||||
|
||||
// override this method to provide reference to
|
||||
|
@ -202,25 +202,25 @@ public:
|
||||
// multiple times by variouse visitors (there can
|
||||
// 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,
|
||||
|
@ -186,7 +186,7 @@ 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 void reserve(size_type n) {}\
|
||||
inline void reserve(size_type WXUNUSED(n)) {}\
|
||||
\
|
||||
inline void push_back(const value_type& x)\
|
||||
{\
|
||||
@ -558,11 +558,11 @@ 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 void reserve(size_type n) {}\
|
||||
inline void reserve(size_type WXUNUSED(n)) {}\
|
||||
\
|
||||
inline void push_back(const value_type& x)\
|
||||
{\
|
||||
|
Loading…
Reference in New Issue
Block a user