[asterisk-commits] may: trunk r369620 - /trunk/addons/ooh323c/src/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 5 06:42:27 CDT 2012


Author: may
Date: Thu Jul  5 06:42:23 2012
New Revision: 369620

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=369620
Log:
Fix dev mode ooh323 warnings

Modified:
    trunk/addons/ooh323c/src/ooCmdChannel.c
    trunk/addons/ooh323c/src/ooStackCmds.c
    trunk/addons/ooh323c/src/ooq931.c

Modified: trunk/addons/ooh323c/src/ooCmdChannel.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/ooh323c/src/ooCmdChannel.c?view=diff&rev=369620&r1=369619&r2=369620
==============================================================================
--- trunk/addons/ooh323c/src/ooCmdChannel.c (original)
+++ trunk/addons/ooh323c/src/ooCmdChannel.c Thu Jul  5 06:42:23 2012
@@ -16,6 +16,7 @@
 
 #include "asterisk.h"
 #include "asterisk/lock.h"
+#include "asterisk/utils.h"
 #include "ooStackCmds.h"
 #include "ootrace.h"
 #include "ooq931.h"

Modified: trunk/addons/ooh323c/src/ooStackCmds.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/ooh323c/src/ooStackCmds.c?view=diff&rev=369620&r1=369619&r2=369620
==============================================================================
--- trunk/addons/ooh323c/src/ooStackCmds.c (original)
+++ trunk/addons/ooh323c/src/ooStackCmds.c Thu Jul  5 06:42:23 2012
@@ -15,6 +15,7 @@
  *****************************************************************************/
 #include "asterisk.h"
 #include "asterisk/lock.h"
+#include "asterisk/utils.h"
 
 #include "ooStackCmds.h"
 #include "ooh323ep.h"

Modified: trunk/addons/ooh323c/src/ooq931.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/ooh323c/src/ooq931.c?view=diff&rev=369620&r1=369619&r2=369620
==============================================================================
--- trunk/addons/ooh323c/src/ooq931.c (original)
+++ trunk/addons/ooh323c/src/ooq931.c Thu Jul  5 06:42:23 2012
@@ -875,7 +875,7 @@
 
 int ooHandleFastStartChannels(OOH323CallData *pCall)
 {
-   int i = 0, j = 0, remoteMediaControlPort = 0, dir = 0;
+   int i = 0, remoteMediaControlPort = 0, dir = 0;
    char remoteMediaControlIP[2 + 8 * 4 + 7];
    DListNode *pNode = NULL;
    H245OpenLogicalChannel *olc = NULL;
@@ -889,7 +889,7 @@
 
       /* Go though all the proposed channels */
 
-      for (i = 0, j = 0; i < (int)pCall->remoteFastStartOLCs.count; i++) {
+      for (i = 0; i < (int)pCall->remoteFastStartOLCs.count; i++) {
 
          pNode = dListFindByIndex(&pCall->remoteFastStartOLCs, i);
          olc = (H245OpenLogicalChannel*)pNode->data;




More information about the asterisk-commits mailing list