aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
Diffstat (limited to 'pbx.c')
-rw-r--r--pbx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pbx.c b/pbx.c
index 85d692da9..5eb4fe416 100644
--- a/pbx.c
+++ b/pbx.c
@@ -1346,7 +1346,6 @@ static void pbx_substitute_variables_helper_full(struct ast_channel *c, struct v
while (brackets && *vare) {
if ((vare[0] == '$') && (vare[1] == '{')) {
needsub++;
- brackets++;
} else if (vare[0] == '{') {
brackets++;
} else if (vare[0] == '}') {