diff --git a/src/xercesc/util/regx/ModifierToken.hpp b/src/xercesc/util/regx/ModifierToken.hpp index 4a6a47c72e543d172237eac287da04d005cdeccd..ef041e777d2e2a25491250e3431a51f0576dc40f 100644 --- a/src/xercesc/util/regx/ModifierToken.hpp +++ b/src/xercesc/util/regx/ModifierToken.hpp @@ -116,7 +116,7 @@ inline int ModifierToken::getOptionsMask() const { return fOptionsMask; } -inline Token* ModifierToken::getChild(const int index) const { +inline Token* ModifierToken::getChild(const int) const { return fChild; } diff --git a/src/xercesc/util/regx/ParenToken.hpp b/src/xercesc/util/regx/ParenToken.hpp index dffca795a35471dbe7069ed0897e10af89c49761..04e0be091dad75f1ab252a8011c8c04ac8bc20aa 100644 --- a/src/xercesc/util/regx/ParenToken.hpp +++ b/src/xercesc/util/regx/ParenToken.hpp @@ -111,7 +111,7 @@ inline int ParenToken::getNoParen() const { return fNoParen; } -inline Token* ParenToken::getChild(const int index) const { +inline Token* ParenToken::getChild(const int) const { return fChild; } diff --git a/src/xercesc/util/regx/Token.hpp b/src/xercesc/util/regx/Token.hpp index 174cb9b765ec84e473ebc6b6e3bd1baf9074d355..470200320f4e54cfa98c8a932ae3a52f403dd35a 100644 --- a/src/xercesc/util/regx/Token.hpp +++ b/src/xercesc/util/regx/Token.hpp @@ -191,7 +191,7 @@ inline int Token::size() const { return 0; } -inline Token* Token::getChild(const int index) const { +inline Token* Token::getChild(const int) const { return 0; } @@ -234,11 +234,11 @@ inline void Token::setTokenType(const unsigned short tokType) { fTokenType = tokType; } -inline void Token::setMax(const int maxVal) { +inline void Token::setMax(const int) { // ClosureToken } -inline void Token::setMin(const int minVal) { +inline void Token::setMin(const int) { // ClosureToken } @@ -250,7 +250,7 @@ inline bool Token::isSet(const int options, const unsigned int flag) { // --------------------------------------------------------------------------- // Token: setter methods // --------------------------------------------------------------------------- -inline void Token::addChild(Token* const child, TokenFactory* const tokFactory) { +inline void Token::addChild(Token* const, TokenFactory* const) { ThrowXML(RuntimeException, XMLExcepts::Regex_NotSupported); } @@ -258,12 +258,12 @@ inline void Token::addChild(Token* const child, TokenFactory* const tokFactory) // --------------------------------------------------------------------------- // Token: Range manipulation methods // --------------------------------------------------------------------------- -inline void Token::addRange(const XMLInt32 start, const XMLInt32 end) { +inline void Token::addRange(const XMLInt32, const XMLInt32) { ThrowXML(RuntimeException, XMLExcepts::Regex_NotSupported); } -inline void Token::mergeRanges(const Token *const tok) { +inline void Token::mergeRanges(const Token *const) { ThrowXML(RuntimeException, XMLExcepts::Regex_NotSupported); } @@ -278,12 +278,12 @@ inline void Token::compactRanges() { ThrowXML(RuntimeException, XMLExcepts::Regex_NotSupported); } -inline void Token::subtractRanges(RangeToken* const tok) { +inline void Token::subtractRanges(RangeToken* const) { ThrowXML(RuntimeException, XMLExcepts::Regex_NotSupported); } -inline void Token::intersectRanges(RangeToken* const tok) { +inline void Token::intersectRanges(RangeToken* const) { ThrowXML(RuntimeException, XMLExcepts::Regex_NotSupported); } diff --git a/src/xercesc/validators/schema/SchemaGrammar.hpp b/src/xercesc/validators/schema/SchemaGrammar.hpp index 5eed8a3c3076f141747b97876682ea0a0f846c83..9c20a2ff41c80b259be1d3d7db4e828f27d7f818 100644 --- a/src/xercesc/validators/schema/SchemaGrammar.hpp +++ b/src/xercesc/validators/schema/SchemaGrammar.hpp @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.4 2002/08/22 15:42:10 tng + * Remove unused parameter variables in inline functions. + * * Revision 1.3 2002/07/11 18:21:20 knoaman * Grammar caching/preparsing - initial implementation. * @@ -462,7 +465,7 @@ inline const XMLCh* SchemaGrammar::getTargetNamespace() const { // Element Decl inline unsigned int SchemaGrammar::getElemId (const unsigned int uriId , const XMLCh* const baseName - , const XMLCh* const qName + , const XMLCh* const , unsigned int scope ) const { // @@ -482,7 +485,7 @@ inline unsigned int SchemaGrammar::getElemId (const unsigned int uriId inline const XMLElementDecl* SchemaGrammar::getElemDecl( const unsigned int uriId , const XMLCh* const baseName - , const XMLCh* const qName + , const XMLCh* const , unsigned int scope ) const { const SchemaElementDecl* decl = fElemDeclPool->getByKey(baseName, uriId, scope); @@ -500,7 +503,7 @@ inline const XMLElementDecl* SchemaGrammar::getElemDecl( const unsigned int u inline XMLElementDecl* SchemaGrammar::getElemDecl (const unsigned int uriId , const XMLCh* const baseName - , const XMLCh* const qName + , const XMLCh* const , unsigned int scope ) { SchemaElementDecl* decl = fElemDeclPool->getByKey(baseName, uriId, scope);