From: Luigi Rizzo Date: Fri, 19 Jan 2007 17:38:28 +0000 (+0000) Subject: remove variable declaration in the middle of a block X-Git-Tag: 1.6.0-beta1~3^2~3413 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=455ea1c99ee548794dee2de157447cc0f10cef01;p=thirdparty%2Fasterisk.git remove variable declaration in the middle of a block git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51308 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index cc17af93be..ced97692da 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -11726,9 +11726,10 @@ static int process_zap(struct zt_chan_conf *confp, struct ast_variable *v, int r || !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")) {