[asterisk-scf-commits] asterisk-scf/release/sip.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Apr 22 11:15:34 CDT 2011


branch "master" has been updated
       via  de1c49f45105d4a62b9572f8bf4efbf8c718933c (commit)
      from  0791f44ddb97bced3ded5da19580ba16966e9f63 (commit)

Summary of changes:
 src/SipConfiguration.cpp |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)


- Log -----------------------------------------------------------------
commit de1c49f45105d4a62b9572f8bf4efbf8c718933c
Author: Mark Michelson <mmichelson at digium.com>
Date:   Fri Apr 22 11:14:49 2011 -0500

    Get rid of shadow warnings and unused parameter warnings in SIP configuration code.

diff --git a/src/SipConfiguration.cpp b/src/SipConfiguration.cpp
index e374891..76fa596 100644
--- a/src/SipConfiguration.cpp
+++ b/src/SipConfiguration.cpp
@@ -235,7 +235,7 @@ ConfigurationGroupSeq ConfigurationServiceImpl::getConfiguration(const AsteriskS
     class visitor : public SipConfigurationGroupVisitor
     {
     public:
-	visitor(boost::shared_ptr<ConfigurationServiceImplPriv> implPriv, ConfigurationGroupSeq& groups) : mImplPriv(implPriv), mGroups(groups) { };
+	visitor(boost::shared_ptr<ConfigurationServiceImplPriv> implPriv, ConfigurationGroupSeq& visitorGroups) : mImplPriv(implPriv), mGroups(visitorGroups) { };
 
     private:
 	/**
@@ -380,11 +380,11 @@ ConfigurationGroupSeq ConfigurationServiceImpl::getConfigurationAll(const Asteri
     class visitor : public SipConfigurationGroupVisitor
     {
     public:
-	visitor(boost::shared_ptr<ConfigurationServiceImplPriv> implPriv, ConfigurationGroupSeq& groups) :
-	    mImplPriv(implPriv), mGroups(groups) { };
+	visitor(boost::shared_ptr<ConfigurationServiceImplPriv> implPriv, ConfigurationGroupSeq& visitorGroups) :
+	    mImplPriv(implPriv), mGroups(visitorGroups) { };
 	
     private:
-	void visitSipGeneralGroup(const ::AsteriskSCF::SIP::V1::SipGeneralGroupPtr& group)
+	void visitSipGeneralGroup(const ::AsteriskSCF::SIP::V1::SipGeneralGroupPtr&)
 	{
 	    if (!mImplPriv->mGeneralGroup)
 	    {
@@ -649,7 +649,7 @@ void ConfigurationServiceImpl::setConfiguration(const AsteriskSCF::System::Confi
 	    class udpTransportItemsVisitor : public SipConfigurationItemVisitor
 	    {
 	    public:
-		udpTransportItemsVisitor(boost::shared_ptr<UDPTransportImplPriv> localTransport) : mLocalTransport(localTransport) { };
+		udpTransportItemsVisitor(boost::shared_ptr<UDPTransportImplPriv> udpLocalTransport) : mLocalTransport(udpLocalTransport) { };
 		
 		void visitSipHostItem(const ::AsteriskSCF::SIP::V1::SipHostItemPtr& hostItem)
 		{
@@ -707,7 +707,7 @@ void ConfigurationServiceImpl::setConfiguration(const AsteriskSCF::System::Confi
             class tcpTransportItemsVisitor : public SipConfigurationItemVisitor
             {
             public:
-                tcpTransportItemsVisitor(boost::shared_ptr<TCPTransportImplPriv> localTransport) : mLocalTransport(localTransport) { };
+                tcpTransportItemsVisitor(boost::shared_ptr<TCPTransportImplPriv> tcpLocalTransport) : mLocalTransport(tcpLocalTransport) { };
 
                 void visitSipHostItem(const ::AsteriskSCF::SIP::V1::SipHostItemPtr& hostItem)
                 {
@@ -765,7 +765,7 @@ void ConfigurationServiceImpl::setConfiguration(const AsteriskSCF::System::Confi
 	    class tlsTransportItemsVisitor : public SipConfigurationItemVisitor
 	    {
 	    public:
-		tlsTransportItemsVisitor(boost::shared_ptr<TLSTransportImplPriv> localTransport) : mLocalTransport(localTransport) { };
+		tlsTransportItemsVisitor(boost::shared_ptr<TLSTransportImplPriv> tlsLocalTransport) : mLocalTransport(tlsLocalTransport) { };
 
 		void visitSipHostItem(const ::AsteriskSCF::SIP::V1::SipHostItemPtr& hostItem)
 		{
@@ -873,7 +873,7 @@ void ConfigurationServiceImpl::setConfiguration(const AsteriskSCF::System::Confi
             class endpointItemsVisitor : public SipConfigurationItemVisitor
             {
             public:
-		endpointItemsVisitor(SipEndpointPtr& endpoint) : mEndpoint(endpoint) { };
+		endpointItemsVisitor(SipEndpointPtr& visitedEndpoint) : mEndpoint(visitedEndpoint) { };
 
 		void visitSipAllowableCallDirectionItem(const ::AsteriskSCF::SIP::V1::SipAllowableCallDirectionItemPtr& direction)
 		{
@@ -1090,7 +1090,7 @@ void ConfigurationServiceImpl::removeConfigurationGroups(const AsteriskSCF::Syst
 	visitor(boost::shared_ptr<ConfigurationServiceImplPriv> implPriv) : mImplPriv(implPriv) { };
 	
     private:
-	void visitSipGeneralGroup(const ::AsteriskSCF::SIP::V1::SipGeneralGroupPtr& group)
+	void visitSipGeneralGroup(const ::AsteriskSCF::SIP::V1::SipGeneralGroupPtr&)
 	{
 	    if (!mImplPriv->mGeneralGroup)
 	    {

-----------------------------------------------------------------------


-- 
asterisk-scf/release/sip.git



More information about the asterisk-scf-commits mailing list