aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-29 01:43:55 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-29 01:43:55 +0000
commit02b97ef043c0964ec46f426939a752b9b13385d2 (patch)
treeb2bee251e976877f2588237af5365cce823aa6cc /channels
parenta442e38fde998d34ec056d5709c15a966063d636 (diff)
Make sure pollres is initialized to 0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3336 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index e8851c47f..eb42be522 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -5320,7 +5320,7 @@ static int handle_init_event(struct zt_pvt *i, int event)
static void *do_monitor(void *data)
{
- int count, res, res2, spoint, pollres;
+ int count, res, res2, spoint, pollres=0;
struct zt_pvt *i;
struct zt_pvt *last = NULL;
time_t thispass = 0, lastpass = 0;