From 9c683b7423c4b4ebd15712ae678b7618550bfbee Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Mon, 3 May 2004 21:00:20 +0000
Subject: [PATCH] Fix compiler warning

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channels/chan_iax2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index ffff4acfc0..18d342cd78 100755
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -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 */
-- 
GitLab