mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-15 12:17:36 +00:00
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
This commit is contained in:
+2
-1
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user