aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-09-14 23:47:25 -0400
committerEli Schwartz <eschwartz@archlinux.org>2021-10-04 16:29:31 -0400
commit5a8e066c564ead1013dda58eff7d94fe01ade59d (patch)
treeb7b0c5f3362a0edd5158755c051823535b73e741 /mesonbuild/backend
parentf2eb1534ddcacd990ab6807376a92e2400681536 (diff)
downloadmeson-5a8e066c564ead1013dda58eff7d94fe01ade59d.zip
meson-5a8e066c564ead1013dda58eff7d94fe01ade59d.tar.gz
meson-5a8e066c564ead1013dda58eff7d94fe01ade59d.tar.bz2
remove useless variables that are no longer or were never used
Diffstat (limited to 'mesonbuild/backend')
-rw-r--r--mesonbuild/backend/vs2010backend.py1
-rw-r--r--mesonbuild/backend/xcodebackend.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py
index 87aef93..faeefbf 100644
--- a/mesonbuild/backend/vs2010backend.py
+++ b/mesonbuild/backend/vs2010backend.py
@@ -1194,7 +1194,6 @@ class Vs2010Backend(backends.Backend):
l = t.extract_all_objects(False)
# Unforunately, we can't use self.object_filename_from_source()
- gensrclist: T.List[File] = []
for gen in l.genlist:
for src in gen.get_outputs():
if self.environment.is_source(src) and not self.environment.is_header(src):
diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py
index 7a02766..080a184 100644
--- a/mesonbuild/backend/xcodebackend.py
+++ b/mesonbuild/backend/xcodebackend.py
@@ -623,7 +623,6 @@ class XCodeBackend(backends.Backend):
fullpath = os.path.join(self.environment.get_build_dir(), s)
else:
fullpath = os.path.join(self.environment.get_source_dir(), s)
- compiler_args = ''
sdict.add_item('isa', 'PBXBuildFile')
sdict.add_item('fileRef', fileref, fullpath)
objects_dict.add_item(idval, sdict)