[asterisk-commits] rmudgett: branch 11 r404219 - in /branches/11: ./ addons/ooh323c/src/ooTimer.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Dec 18 14:19:32 CST 2013


Author: rmudgett
Date: Wed Dec 18 14:19:30 2013
New Revision: 404219

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=404219
Log:
ooh323c: Fix gcc 4.6.3 compiler warnings.
........

Merged revisions 404212 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/11/   (props changed)
    branches/11/addons/ooh323c/src/ooTimer.c

Propchange: branches/11/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/11/addons/ooh323c/src/ooTimer.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/addons/ooh323c/src/ooTimer.c?view=diff&rev=404219&r1=404218&r2=404219
==============================================================================
--- branches/11/addons/ooh323c/src/ooTimer.c (original)
+++ branches/11/addons/ooh323c/src/ooTimer.c Wed Dec 18 14:19:30 2013
@@ -17,7 +17,6 @@
 #include "asterisk.h"
 #include "asterisk/lock.h"
 
-#include "ootypes.h"
 #include "ooDateTime.h"
 #include "ooTimer.h"
 #include "ootrace.h"
@@ -102,7 +101,6 @@
 void ooTimerFireExpired (OOCTXT* pctxt, DList *pList)
 {
    OOTimer* pTimer;
-   int ret = OO_OK;
 
    while (pList->count > 0) {
       pTimer = (OOTimer*) pList->head->data;
@@ -114,7 +112,7 @@
           */
          if (pTimer->reRegister) ooTimerReset (pctxt, pList, pTimer);
 
-	 ret = (*pTimer->timeoutCB)(pTimer->cbData);
+         (*pTimer->timeoutCB)(pTimer->cbData);
 
          if (!pTimer->reRegister) {
             ooTimerDelete (pctxt, pList, pTimer);
@@ -122,8 +120,6 @@
       }
       else break;
    }
-
-   return (void)ret;
 }
 
 int ooTimerInsertEntry (OOCTXT* pctxt, DList *pList, OOTimer* pTimer)




More information about the asterisk-commits mailing list