[asterisk-commits] rizzo: trunk r51308 - /trunk/channels/chan_zap.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Jan 19 10:38:29 MST 2007


Author: rizzo
Date: Fri Jan 19 11:38:28 2007
New Revision: 51308

URL: http://svn.digium.com/view/asterisk?view=rev&rev=51308
Log:
remove variable declaration in the middle of a block


Modified:
    trunk/channels/chan_zap.c

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=51308&r1=51307&r2=51308
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Fri Jan 19 11:38:28 2007
@@ -11726,9 +11726,10 @@
 		    || !strcasecmp(v->name, "crv")
 #endif			
 			) {
+ 			int iscrv;
  			if (skipchannels)
  				continue;
- 			int iscrv = !strcasecmp(v->name, "crv");
+ 			iscrv = !strcasecmp(v->name, "crv");
  			if (build_channels(*confp, iscrv, v->value, reload, v->lineno, &found_pseudo))
  					return -1;
  		} else if (!strcasecmp(v->name, "zapchan")) {



More information about the asterisk-commits mailing list