[asterisk-commits] rmudgett: branch 12 r404263 - in /branches/12: ./ addons/ooh323c/src/ooTimer.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Dec 18 14:57:56 CST 2013
Author: rmudgett
Date: Wed Dec 18 14:57:50 2013
New Revision: 404263
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=404263
Log:
ooh323c: Fix gcc 4.6.3 compiler warnings.
........
Merged revisions 404212 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 404219 from http://svn.asterisk.org/svn/asterisk/branches/11
Modified:
branches/12/ (props changed)
branches/12/addons/ooh323c/src/ooTimer.c
Propchange: branches/12/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.
Modified: branches/12/addons/ooh323c/src/ooTimer.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/addons/ooh323c/src/ooTimer.c?view=diff&rev=404263&r1=404262&r2=404263
==============================================================================
--- branches/12/addons/ooh323c/src/ooTimer.c (original)
+++ branches/12/addons/ooh323c/src/ooTimer.c Wed Dec 18 14:57:50 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