From 291141f869ba57cb49a4a0b2cfd4d87a12d66328 Mon Sep 17 00:00:00 2001 From: jeroendedauw Date: Wed, 30 Jul 2014 22:42:59 +0200 Subject: [PATCH] Remove unused var --- lib/Twig/ExpressionParser.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Twig/ExpressionParser.php b/lib/Twig/ExpressionParser.php index 01594f7..01fffd3 100644 --- a/lib/Twig/ExpressionParser.php +++ b/lib/Twig/ExpressionParser.php @@ -300,7 +300,7 @@ class Twig_ExpressionParser { switch ($name) { case 'parent': - $args = $this->parseArguments(); + $this->parseArguments(); if (!count($this->parser->getBlockStack())) { throw new Twig_Error_Syntax('Calling "parent" outside a block is forbidden', $line, $this->parser->getFilename()); } -- 1.7.2.5