]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
intialize r2chan and make the compiler happy
authorMoises Silva <moy@sangoma.com>
Thu, 27 Aug 2009 16:34:03 +0000 (16:34 +0000)
committerMoises Silva <moy@sangoma.com>
Thu, 27 Aug 2009 16:34:03 +0000 (16:34 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@813 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/freetdm/src/ozmod/ozmod_r2/ozmod_r2.c

index 0f57f7349d2bef42f3b7e4ed1fae772ea50bd499..9683aa57b23f5a6482f75e43f06ec4854b3027a7 100644 (file)
@@ -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);