From ead30e960e56a71bbf3188659990521ed95c64dd Mon Sep 17 00:00:00 2001 From: Moises Silva Date: Thu, 27 Aug 2009 16:34:03 +0000 Subject: [PATCH] intialize r2chan and make the compiler happy git-svn-id: http://svn.openzap.org/svn/openzap/trunk@813 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/src/ozmod/ozmod_r2/ozmod_r2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/openzap/src/ozmod/ozmod_r2/ozmod_r2.c b/libs/openzap/src/ozmod/ozmod_r2/ozmod_r2.c index 0f57f7349d..9683aa57b2 100644 --- a/libs/openzap/src/ozmod/ozmod_r2/ozmod_r2.c +++ b/libs/openzap/src/ozmod/ozmod_r2/ozmod_r2.c @@ -1128,6 +1128,7 @@ static void *zap_r2_run(zap_thread_t *me, void *obj) int i; zap_log(ZAP_LOG_DEBUG, "OpenR2 monitor thread started.\n"); + r2chan = NULL; for (i = 1; i <= span->chan_count; i++) { r2chan = R2CALL(span->channels[i])->r2chan; openr2_chan_set_idle(r2chan);