[svn-commits] wedhorn: trunk r319470 - /trunk/channels/chan_skinny.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue May 17 16:59:59 CDT 2011


Author: wedhorn
Date: Tue May 17 16:59:55 2011
New Revision: 319470

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=319470
Log:
Remove extraneous line variables.

The vars were either explicitly or implicitly not used.

Modified:
    trunk/channels/chan_skinny.c

Modified: trunk/channels/chan_skinny.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_skinny.c?view=diff&rev=319470&r1=319469&r2=319470
==============================================================================
--- trunk/channels/chan_skinny.c (original)
+++ trunk/channels/chan_skinny.c Tue May 17 16:59:55 2011
@@ -1244,7 +1244,6 @@
 	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 @@
 	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 @@
  	.directmedia = 0,
  	.nat = 0,
 	.getforward = 0,
- 	.needdestroy = 0,
 	.prune = 0,
 };
 static struct skinny_line_options *default_line = &default_line_struct;
@@ -6854,11 +6846,6 @@
  				}
  				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);




More information about the svn-commits mailing list