mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
suppress compiler warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -449,7 +449,8 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu
|
|||||||
char tmpchan[256];
|
char tmpchan[256];
|
||||||
char *stuff;
|
char *stuff;
|
||||||
char *tech;
|
char *tech;
|
||||||
char *forward_context;
|
const char *forward_context;
|
||||||
|
|
||||||
ast_copy_string(tmpchan, o->chan->call_forward, sizeof(tmpchan));
|
ast_copy_string(tmpchan, o->chan->call_forward, sizeof(tmpchan));
|
||||||
if ((stuff = strchr(tmpchan, '/'))) {
|
if ((stuff = strchr(tmpchan, '/'))) {
|
||||||
*stuff = '\0';
|
*stuff = '\0';
|
||||||
|
Reference in New Issue
Block a user