[asterisk-commits] russell: branch group/newcdr r201982 - /team/group/newcdr/main/cel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 19 13:29:20 CDT 2009


Author: russell
Date: Fri Jun 19 13:29:16 2009
New Revision: 201982

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=201982
Log:
remove unused var

Modified:
    team/group/newcdr/main/cel.c

Modified: team/group/newcdr/main/cel.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/newcdr/main/cel.c?view=diff&rev=201982&r1=201981&r2=201982
==============================================================================
--- team/group/newcdr/main/cel.c (original)
+++ team/group/newcdr/main/cel.c Fri Jun 19 13:29:16 2009
@@ -147,14 +147,13 @@
 	const char *enabled_value;
 	const char *eventlist;
 	const char *applist;
-	int was_enabled;
 	int res = 0;
 	enum ast_cel_eventtype et;
 	struct ast_flags config_flags = { CONFIG_FLAG_FILEUNCHANGED };
 	const char *s;
 
-	was_enabled = cel_enabled;
 	cel_enabled = 1;
+
 	if (appset) {
 		char *str;
 		/* a pre-existing hash table == destroy it */




More information about the asterisk-commits mailing list