mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
Remove extraneous line variables.
The vars were either explicitly or implicitly not used. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@319470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1244,7 +1244,6 @@ struct skinny_subchannel {
|
||||
char mohinterpret[MAX_MUSICCLASS]; \
|
||||
char mohsuggest[MAX_MUSICCLASS]; \
|
||||
char lastnumberdialed[AST_MAX_EXTENSION]; \
|
||||
int curtone; \
|
||||
ast_group_t callgroup; \
|
||||
ast_group_t pickupgroup; \
|
||||
int callwaiting; \
|
||||
@@ -1253,22 +1252,16 @@ struct skinny_subchannel {
|
||||
int mwiblink; \
|
||||
int cancallforward; \
|
||||
int getforward; \
|
||||
int callreturn; \
|
||||
int dnd; \
|
||||
int hascallerid; \
|
||||
int hidecallerid; \
|
||||
int amaflags; \
|
||||
int type; \
|
||||
int instance; \
|
||||
int group; \
|
||||
int needdestroy; \
|
||||
struct ast_format_cap *confcap; \
|
||||
struct ast_codec_pref confprefs; \
|
||||
struct ast_format_cap *cap; \
|
||||
struct ast_codec_pref prefs; \
|
||||
int nonCodecCapability; \
|
||||
int onhooktime; \
|
||||
int msgstate; \
|
||||
int immediate; \
|
||||
int nat; \
|
||||
int directmedia; \
|
||||
@@ -1300,7 +1293,6 @@ static struct skinny_line_options{
|
||||
.directmedia = 0,
|
||||
.nat = 0,
|
||||
.getforward = 0,
|
||||
.needdestroy = 0,
|
||||
.prune = 0,
|
||||
};
|
||||
static struct skinny_line_options *default_line = &default_line_struct;
|
||||
@@ -6854,11 +6846,6 @@ static struct ast_channel *skinny_request(const char *type, struct ast_format_ca
|
||||
}
|
||||
continue;
|
||||
}
|
||||
} else if (!strcasecmp(v->name, "callreturn")) {
|
||||
if (type & (TYPE_DEF_LINE | TYPE_LINE)) {
|
||||
CLINE_OPTS->callreturn = ast_true(v->value);
|
||||
continue;
|
||||
}
|
||||
} else if (!strcasecmp(v->name, "threewaycalling")) {
|
||||
if (type & (TYPE_DEF_LINE | TYPE_LINE)) {
|
||||
CLINE_OPTS->threewaycalling = ast_true(v->value);
|
||||
|
||||
Reference in New Issue
Block a user