aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mparser.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-12-04 18:54:47 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2019-12-05 00:22:10 +0200
commite4a0ee205d23a3d3af9dab9685ec330a41e553d5 (patch)
treee05291994cae465b456b74757685aabecf65c951 /mesonbuild/mparser.py
parentef19e1ff2d6b0f791a3b4c4fcfdf5e284cd448cc (diff)
downloadmeson-e4a0ee205d23a3d3af9dab9685ec330a41e553d5.zip
meson-e4a0ee205d23a3d3af9dab9685ec330a41e553d5.tar.gz
meson-e4a0ee205d23a3d3af9dab9685ec330a41e553d5.tar.bz2
lgtm: Fix redundant code
Diffstat (limited to 'mesonbuild/mparser.py')
-rw-r--r--mesonbuild/mparser.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/mparser.py b/mesonbuild/mparser.py
index 76ad374..2b503f1 100644
--- a/mesonbuild/mparser.py
+++ b/mesonbuild/mparser.py
@@ -674,7 +674,6 @@ class Parser:
a = ArgumentNode(s)
while not isinstance(s, EmptyNode):
- potential = self.current
if self.accept('colon'):
a.set_kwarg(s, self.statement())
potential = self.current