diff options
author | Luigi Rizzo <rizzo@icir.org> | 2007-01-19 17:38:28 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2007-01-19 17:38:28 +0000 |
commit | 455ea1c99ee548794dee2de157447cc0f10cef01 (patch) | |
tree | e312e1c87f162fa9d5aca9479ab4a5934032ed9a | |
parent | 3808ad7535824dae0d30325a1baf79a1e6eb4ef1 (diff) |
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
-rw-r--r-- | channels/chan_zap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index cc17af93b..ced97692d 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")) { |