tng         2002/08/22 08:05:40

  Modified:    c/src/xercesc/validators/DTD DTDGrammar.hpp DTDValidator.hpp
  Log:
  Remove unused parameter variables in inline functions.
  
  Revision  Changes    Path
  1.4       +15 -12    xml-xerces/c/src/xercesc/validators/DTD/DTDGrammar.hpp
  
  Index: DTDGrammar.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/DTD/DTDGrammar.hpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DTDGrammar.hpp    11 Jul 2002 18:19:28 -0000      1.3
  +++ DTDGrammar.hpp    22 Aug 2002 15:05:39 -0000      1.4
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.4  2002/08/22 15:05:39  tng
  + * Remove unused parameter variables in inline functions.
  + *
    * Revision 1.3  2002/07/11 18:19:28  knoaman
    * Grammar caching/preparsing - initial implementation.
    *
  @@ -216,11 +219,11 @@
       //  Setter methods
       // -----------------------------------------------------------------------
       void setRootElemId(unsigned int rootElemId);
  -    
  +
       // -----------------------------------------------------------------------
       //  Content management methods
       // -----------------------------------------------------------------------
  -    unsigned int putEntityDecl(DTDEntityDecl* const entityDecl) const;    
  +    unsigned int putEntityDecl(DTDEntityDecl* const entityDecl) const;
   
   private:
       // -----------------------------------------------------------------------
  @@ -265,7 +268,7 @@
       NameIdPool<DTDEntityDecl>*      fEntityDeclPool;
       NameIdPool<XMLNotationDecl>*    fNotationDeclPool;
       unsigned int                    fRootElemId;
  -    bool                            fValidated;                  
  +    bool                            fValidated;
   };
   
   
  @@ -345,10 +348,10 @@
   }
   
   // Element Decl
  -inline unsigned int DTDGrammar::getElemId (const   unsigned int  uriId
  -                                              , const XMLCh* const    baseName
  +inline unsigned int DTDGrammar::getElemId (const   unsigned int
  +                                              , const XMLCh* const
                                                 , const XMLCh* const    qName
  -                                              , unsigned int          scope ) const
  +                                              , unsigned int) const
   {
       //
       //  In this case, we don't return zero to mean 'not found', so we have to
  @@ -360,10 +363,10 @@
       return decl->getId();
   }
   
  -inline const XMLElementDecl* DTDGrammar::getElemDecl( const   unsigned int  uriId
  -                                              , const XMLCh* const    baseName
  +inline const XMLElementDecl* DTDGrammar::getElemDecl( const   unsigned int
  +                                              , const XMLCh* const
                                                 , const XMLCh* const    qName
  -                                              , unsigned int          scope )   
const
  +                                              , unsigned int)   const
   {
       const XMLElementDecl* elemDecl = fElemDeclPool->getByKey(qName);
   
  @@ -373,10 +376,10 @@
       return elemDecl;
   }
   
  -inline XMLElementDecl* DTDGrammar::getElemDecl (const   unsigned int  uriId
  -                                              , const XMLCh* const    baseName
  +inline XMLElementDecl* DTDGrammar::getElemDecl (const   unsigned int
  +                                              , const XMLCh* const
                                                 , const XMLCh* const    qName
  -                                              , unsigned int          scope )
  +                                              , unsigned int)
   {
       XMLElementDecl* elemDecl = fElemDeclPool->getByKey(qName);
   
  
  
  
  1.3       +5 -1      xml-xerces/c/src/xercesc/validators/DTD/DTDValidator.hpp
  
  Index: DTDValidator.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/DTD/DTDValidator.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DTDValidator.hpp  11 Jul 2002 18:55:44 -0000      1.2
  +++ DTDValidator.hpp  22 Aug 2002 15:05:40 -0000      1.3
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.3  2002/08/22 15:05:40  tng
  + * Remove unused parameter variables in inline functions.
  + *
    * Revision 1.2  2002/07/11 18:55:44  knoaman
    * Add a flag to the preContentValidation method to indicate whether to validate
    * default/fixed attributes or not.
  @@ -211,7 +214,7 @@
       fDTDGrammar = (DTDGrammar*) aGrammar;
   }
   
  -inline void DTDValidator::validateElement (const   XMLElementDecl* elemDef) {
  +inline void DTDValidator::validateElement (const   XMLElementDecl*) {
       // no special DTD Element validation
   }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to