mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 03:18:30 +00:00
Fix compiler warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4396,6 +4396,7 @@ static int timing_read(int *id, int fd, short events, void *cbdata)
|
|||||||
tpeer = tpeers;
|
tpeer = tpeers;
|
||||||
while(tpeer) {
|
while(tpeer) {
|
||||||
processed++;
|
processed++;
|
||||||
|
res = 0;
|
||||||
ast_mutex_lock(&tpeer->lock);
|
ast_mutex_lock(&tpeer->lock);
|
||||||
/* We can drop a single tpeer per pass. That makes all this logic
|
/* We can drop a single tpeer per pass. That makes all this logic
|
||||||
substantially easier */
|
substantially easier */
|
||||||
|
|||||||
Reference in New Issue
Block a user