intialize r2chan and make the compiler happy

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@813 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Moises Silva 2009-08-27 16:34:03 +00:00
parent cba78f885a
commit ead30e960e
1 changed files with 1 additions and 0 deletions

View 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);