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
1.6.0
Luigi Rizzo 19 years ago
parent 3808ad7535
commit 455ea1c99e

@ -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")) {

Loading…
Cancel
Save