fix compiler warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
2781d38064
commit
384bf5dc32
|
@ -8254,7 +8254,9 @@ static int handle_pri_show_span(int fd, int argc, char *argv[])
|
|||
}
|
||||
for(x=0;x<NUM_DCHANS;x++) {
|
||||
if (pris[span-1].dchannels[x]) {
|
||||
#ifdef PRI_DUMP_INFO_STR
|
||||
char *info_str = NULL;
|
||||
#endif
|
||||
ast_cli(fd, "%s D-channel: %d\n", pri_order(x), pris[span-1].dchannels[x]);
|
||||
build_status(status, sizeof(status), pris[span-1].dchanavail[x], pris[span-1].dchans[x] == pris[span-1].pri);
|
||||
ast_cli(fd, "Status: %s\n", status);
|
||||
|
|
Loading…
Reference in New Issue