projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9921554
)
Remove unused var
author
jeroendedauw
<jeroendedauw@gmail.com>
Wed, 30 Jul 2014 20:42:59 +0000 (22:42 +0200)
committer
jeroendedauw
<jeroendedauw@gmail.com>
Thu, 31 Jul 2014 08:37:40 +0000 (10:37 +0200)
lib/Twig/ExpressionParser.php
patch
|
blob
|
history
diff --git
a/lib/Twig/ExpressionParser.php
b/lib/Twig/ExpressionParser.php
index
01594f7
..
01fffd3
100644
(file)
--- 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());
}