aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>2016-12-19 18:22:20 +0100
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>2016-12-19 18:22:20 +0100
commite611b6748b7c9a66f348380d9bc1c24268adbbc4 (patch)
tree661a1ae1d3ca0ec7a6df797b6eadf3d8f1861daa /mesonbuild/backend/backends.py
parent8268eb49598c9c43ed4e52bdca63b38440c5b922 (diff)
downloadmeson-e611b6748b7c9a66f348380d9bc1c24268adbbc4.zip
meson-e611b6748b7c9a66f348380d9bc1c24268adbbc4.tar.gz
meson-e611b6748b7c9a66f348380d9bc1c24268adbbc4.tar.bz2
tree-wide: remove unused variables
./mesonbuild/scripts/regen_checker.py:35:5: F841 local variable 'scriptdir' is assigned to but never used scriptdir = os.path.split(__file__)[0] ^ ./mesonbuild/scripts/yelphelper.py:84:13: F841 local variable 'symfile' is assigned to but never used symfile = os.path.join(install_dir, m) ^ ./mesonbuild/backend/backends.py:164:13: F841 local variable 'lang' is assigned to but never used lang = comp.get_language() ^ ./mesonbuild/backend/ninjabackend.py:1286:9: F841 local variable 'scriptdir' is assigned to but never used scriptdir = self.environment.get_script_dir() ^ ./mesonbuild/backend/vs2010backend.py:736:9: F841 local variable 'additional_options_set' is assigned to but never used additional_options_set = True ^ Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 8b6d181..e25e9f0 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -161,7 +161,6 @@ class Backend():
# For each language, generate a unity source file and return the list
for comp, srcs in compsrcs.items():
- lang = comp.get_language()
with init_language_file(comp.get_default_suffix()) as ofile:
for src in srcs:
ofile.write('#include<%s>\n' % src)