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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Apr 15 09:16:56 CDT 2011


branch "master" has been updated
       via  fffdcb241ce942415bb8fe17a9f266d0e7a1ecdf (commit)
      from  396cbc558718ce9f6abd2c47e89a9b1b55ed2083 (commit)

Summary of changes:
 src/MediaSession.h   |    4 ++--
 src/Service.cpp      |    4 ++--
 src/TestEndpoint.cpp |   10 +++++-----
 3 files changed, 9 insertions(+), 9 deletions(-)


- Log -----------------------------------------------------------------
commit fffdcb241ce942415bb8fe17a9f266d0e7a1ecdf
Author: Kevin P. Fleming <kpfleming at digium.com>
Date:   Thu Apr 14 13:25:27 2011 -0500

    Minor fixes for various code constructs that trip up GCC with new warning
    options enabled (-Wextra, -Wconversion, -Wformat, and others).

diff --git a/src/MediaSession.h b/src/MediaSession.h
index a95faeb..511cc22 100644
--- a/src/MediaSession.h
+++ b/src/MediaSession.h
@@ -64,7 +64,7 @@ public:
         return mId;
     }
 
-    void requestFormat(const AsteriskSCF::Media::V1::FormatPtr& format, const Ice::Current&)
+    void requestFormat(const AsteriskSCF::Media::V1::FormatPtr&, const Ice::Current&)
     {
         // XXX
     }
@@ -131,7 +131,7 @@ public:
         return mId;
     }
 
-    void requestFormat(const AsteriskSCF::Media::V1::FormatPtr& format, const Ice::Current&)
+    void requestFormat(const AsteriskSCF::Media::V1::FormatPtr&, const Ice::Current&)
     {
         // XXX
     }
diff --git a/src/Service.cpp b/src/Service.cpp
index 9ec19e5..af0e1ed 100644
--- a/src/Service.cpp
+++ b/src/Service.cpp
@@ -43,7 +43,7 @@ TestChannelDriver::TestChannelDriver()
 {
 }
 
-void TestChannelDriver::start(const std::string& name, const Ice::CommunicatorPtr& communicator, const Ice::StringSeq& args)
+void TestChannelDriver::start(const std::string&, const Ice::CommunicatorPtr& communicator, const Ice::StringSeq&)
 {
     mLogger.getTraceStream() << "Launching AsteriskSCF Session-Oriented Test Channel Service." << std::endl;
     mAdapter = communicator->createObjectAdapter("AsteriskSCF.TestChannelService");
@@ -81,7 +81,7 @@ void TestChannelDriver::stop()
 }
 
 extern "C" {
-ASTERISK_SCF_ICEBOX_EXPORT ::IceBox::Service* create(Ice::CommunicatorPtr communicator)
+ASTERISK_SCF_ICEBOX_EXPORT ::IceBox::Service* create(Ice::CommunicatorPtr)
 {
     return new TestChannelDriver;
 }
diff --git a/src/TestEndpoint.cpp b/src/TestEndpoint.cpp
index f921bb8..b6717f1 100644
--- a/src/TestEndpoint.cpp
+++ b/src/TestEndpoint.cpp
@@ -185,7 +185,7 @@ public:
         mEndpointManager->log(mId, __FUNCTION__);
     }
 
-    void progress(const AsteriskSCF::SessionCommunications::V1::ResponseCodePtr& response, const Ice::Current&)
+    void progress(const AsteriskSCF::SessionCommunications::V1::ResponseCodePtr&, const Ice::Current&)
     {
         mEndpointManager->log(mId, __FUNCTION__);
     }
@@ -207,7 +207,7 @@ public:
         mEndpointManager->log(mId, __FUNCTION__);
     }
 
-    void stop(const AsteriskSCF::SessionCommunications::V1::ResponseCodePtr& response, const Ice::Current&)
+    void stop(const AsteriskSCF::SessionCommunications::V1::ResponseCodePtr&, const Ice::Current&)
     {
         mEndpointManager->log(mId, __FUNCTION__);
     }
@@ -308,7 +308,7 @@ public:
 
     AsteriskSCF::SessionCommunications::V1::SessionPrx createSession(
         const std::string& destination,
-            const AsteriskSCF::SessionCommunications::V1::SessionListenerPrx& listener,
+            const AsteriskSCF::SessionCommunications::V1::SessionListenerPrx&,
             const Ice::Current& current)
     {
         InternalSessionInfo info;
@@ -323,7 +323,7 @@ public:
         return info.session;
     }
 
-    AsteriskSCF::SessionCommunications::V1::SessionSeq getSessions(const Ice::Current& current)
+    AsteriskSCF::SessionCommunications::V1::SessionSeq getSessions(const Ice::Current&)
     {
         boost::shared_lock<boost::shared_mutex> lock(mMutex);
         AsteriskSCF::SessionCommunications::V1::SessionSeq result;
@@ -530,7 +530,7 @@ public:
         adapter->add(mCommands, adapter->getCommunicator()->stringToIdentity(mManagerId + ".Commands"));
     }
 
-    AsteriskSCF::Core::Endpoint::V1::EndpointSeq lookup(const std::string& destination, const Ice::Current&)
+    AsteriskSCF::Core::Endpoint::V1::EndpointSeq lookup(const std::string&, const Ice::Current&)
     {
         AsteriskSCF::Core::Endpoint::V1::EndpointSeq result;
         result.push_back(mEndpointProxy);

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


-- 
asterisk-scf/release/test_channel.git



More information about the asterisk-scf-commits mailing list