Make sure pollres is initialized to 0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3336 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
a442e38fde
commit
02b97ef043
|
@ -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;
|
||||
|
|
Reference in New Issue