diff options
Diffstat (limited to 'wct4xxp/base.c')
-rw-r--r-- | wct4xxp/base.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c index df575ac..72f83c8 100644 --- a/wct4xxp/base.c +++ b/wct4xxp/base.c @@ -1513,7 +1513,7 @@ static int t4_close(struct zt_chan *chan) static void init_spans(struct t4 *wc) { - int x,y,c; + int x,y; int gen2; int offset = 1; struct t4_span *ts; @@ -1569,7 +1569,6 @@ static void init_spans(struct t4 *wc) sprintf(mychans->name, "TE%d/%d/%d/%d", wc->numspans, wc->num, x + 1, y + 1); mychans->sigcap = ZT_SIG_EM | ZT_SIG_CLEAR | ZT_SIG_FXSLS | ZT_SIG_FXSGS | ZT_SIG_FXSKS | ZT_SIG_HARDHDLC | ZT_SIG_FXOLS | ZT_SIG_FXOGS | ZT_SIG_FXOKS | ZT_SIG_CAS | ZT_SIG_EM_E1 | ZT_SIG_DACS_RBS; - c = (x * ts->span.channels) + y; mychans->pvt = wc; mychans->chanpos = y + 1; if (gen2) { |