[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-protocol-cvs
Subject:    [Protocol-cvs] rtsp rtspclnt.cpp, 1.159, 1.160 rtsppars.cpp, 1.11,
From:       ehyche () helixcommunity ! org
Date:       2005-04-22 21:32:12
[Download RAW message or body]

Update of /cvsroot/protocol/rtsp
In directory cvs-new:/tmp/cvs-serv19354/rtsp

Modified Files:
	rtspclnt.cpp rtsppars.cpp servrsnd.cpp 
Log Message:
Warning removal.
Contributed by: Alberto Meza (ameza@dextratech.com)


Index: servrsnd.cpp
===================================================================
RCS file: /cvsroot/protocol/rtsp/servrsnd.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- servrsnd.cpp	5 Apr 2005 14:37:46 -0000	1.7
+++ servrsnd.cpp	22 Apr 2005 21:32:10 -0000	1.8
@@ -97,7 +97,6 @@
 void
 RTSPResendBuffer::Clear()
 {
-    HX_deque::Iterator i;
     BasePacket* pPacket;
     while(!m_pPacketDeque->empty())
     {

Index: rtsppars.cpp
===================================================================
RCS file: /cvsroot/protocol/rtsp/rtsppars.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- rtsppars.cpp	10 Mar 2005 20:59:18 -0000	1.11
+++ rtsppars.cpp	22 Apr 2005 21:32:10 -0000	1.12
@@ -288,7 +288,7 @@
     // RTP-Info starts with "url="
     HX_ASSERT(pCurrentEntry == pValue);
 
-    while (pNextEntry = NextRTPInfoEntry(pCurrentEntry+4, "url=", ','))
+    while ((pNextEntry = NextRTPInfoEntry(pCurrentEntry+4, "url=", ',')))
     {
         // retreive stream URL entry
         entry = value.Mid(pCurrentEntry - pValue, pNextEntry - pCurrentEntry);
@@ -310,7 +310,7 @@
 {
     const char* pEntry = NULL;
 
-    while (pEntry = strstr(pValue, pTarget))
+    while ((pEntry = strstr(pValue, pTarget)))
     {
         const char* pTemp = pEntry;
 

Index: rtspclnt.cpp
===================================================================
RCS file: /cvsroot/protocol/rtsp/rtspclnt.cpp,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -d -r1.159 -r1.160
--- rtspclnt.cpp	21 Apr 2005 19:33:23 -0000	1.159
+++ rtspclnt.cpp	22 Apr 2005 21:32:10 -0000	1.160
@@ -2667,11 +2667,10 @@
 RTSPClientProtocol::SendStreamDescriptionRequest(const char* pURL,
     IHXValues* pRequestHeaders)
 {
-    HX_RESULT   rc = HXR_OK;
-
     HXLOGL3(HXLOG_RTSP, "RTSPClientProtocol[%p]::SendStreamDescriptionRequest()", \
this);  
 #if defined(HELIX_FEATURE_TRANSPORT_MULTICAST)
+    HX_RESULT   rc = HXR_OK;
     if (m_bSDPInitiated && m_bMulticast)
     {
         m_pSDPRequestHeader = pRequestHeaders;
@@ -3126,9 +3125,9 @@
     HX_RESULT           rc = HXR_OK;
     RTPUDPTransport*    pTrans = NULL;
     RTCPUDPTransport*   pRTCPTrans = NULL;
-    CHXSimpleList::Iterator i;
 
 #if defined(HELIX_FEATURE_TRANSPORT_MULTICAST)
+    CHXSimpleList::Iterator i;
     IHXSockAddr* pAddrOne = 0;
     IHXSockAddr* pAddrTwo = 0;
     IHXSocket*          pUDPSocket = NULL;
@@ -7282,9 +7281,7 @@
 
     // get transport info
     CHXString transportType;
-    UINT16 localPort = 0;
     UINT16 streamNumber = pStreamInfo->m_streamNumber;
-
     MIMEHeader* pTransport = pMsg->getHeader("Transport");
     if(pTransport)
     {
@@ -9441,7 +9438,8 @@
         if (HXR_OK == ppValues[0]->GetPropertyCString("MulticastAddress", \
pIPAddress))  {
             IHXSockAddr* pAddr = 0;
-            HX_RESULT hr = HXSockUtil::CreateAddr(m_pNetSvc,
+            HX_RESULT hr = HXR_OK;
+            hr = HXSockUtil::CreateAddr(m_pNetSvc,
                                     HX_SOCK_FAMILY_INANY, (const \
char*)pIPAddress->GetBuffer(), 0, pAddr);  
             // this is often 'any', where connection field for each stream specifies \
multicast address


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic