mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-25 06:00:36 +00:00
Fix modern gcc warning
Review: https://reviewboard.asterisk.org/r/1767 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -101,7 +101,6 @@ OOBOOL ooTimerExpired (OOTimer* pTimer)
|
||||
void ooTimerFireExpired (OOCTXT* pctxt, DList *pList)
|
||||
{
|
||||
OOTimer* pTimer;
|
||||
int stat;
|
||||
|
||||
while (pList->count > 0) {
|
||||
pTimer = (OOTimer*) pList->head->data;
|
||||
@@ -113,8 +112,6 @@ void ooTimerFireExpired (OOCTXT* pctxt, DList *pList)
|
||||
*/
|
||||
if (pTimer->reRegister) ooTimerReset (pctxt, pList, pTimer);
|
||||
|
||||
stat = (*pTimer->timeoutCB)(pTimer->cbData);
|
||||
|
||||
if (!pTimer->reRegister) {
|
||||
ooTimerDelete (pctxt, pList, pTimer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user