From 8d19859c9e07c2b3cedb4c094f53b57272fc484f Mon Sep 17 00:00:00 2001 From: gsathya Date: Mon, 9 Jan 2017 19:07:32 -0800 Subject: [PATCH] [pattern rewriter] Dont return value from void function R=adamk@chromium.org Review-Url: https://codereview.chromium.org/2626493002 Cr-Commit-Position: refs/heads/master@{#42156} --- src/parsing/pattern-rewriter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parsing/pattern-rewriter.cc b/src/parsing/pattern-rewriter.cc index f714f6666c..edd283e9d6 100644 --- a/src/parsing/pattern-rewriter.cc +++ b/src/parsing/pattern-rewriter.cc @@ -309,7 +309,7 @@ void Parser::PatternRewriter::VisitRewritableExpression( block_->statements()->Add(factory()->NewExpressionStatement(expr, pos), zone()); } - return set_context(old_context); + set_context(old_context); } // When an extra declaration scope needs to be inserted to account for