Fix compiler warning
authorMark Spencer <markster@digium.com>
Mon, 3 May 2004 21:00:20 +0000 (21:00 +0000)
committerMark Spencer <markster@digium.com>
Mon, 3 May 2004 21:00:20 +0000 (21:00 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2877 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index ffff4ac..18d342c 100755 (executable)
@@ -4396,6 +4396,7 @@ static int timing_read(int *id, int fd, short events, void *cbdata)
        tpeer = tpeers;
        while(tpeer) {
                processed++;
+               res = 0;
                ast_mutex_lock(&tpeer->lock);
                /* We can drop a single tpeer per pass.  That makes all this logic
                   substantially easier */