aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/dependencies/ui.py1
-rw-r--r--mesonbuild/interpreter.py1
-rwxr-xr-xtools/cmake2meson.py1
3 files changed, 0 insertions, 3 deletions
diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py
index f1ee7a6..1c59a41 100644
--- a/mesonbuild/dependencies/ui.py
+++ b/mesonbuild/dependencies/ui.py
@@ -390,7 +390,6 @@ class SDL2Dependency(ExternalDependency):
return
except Exception as e:
mlog.debug('SDL 2 not found via pkgconfig. Trying next, error was:', str(e))
- pass
if DependencyMethods.SDLCONFIG in self.methods:
sdlconf = shutil.which('sdl2-config')
if sdlconf:
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index 8d35055..393cb48 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -2028,7 +2028,6 @@ class Interpreter(InterpreterBase):
dep = dependencies.find_external_dependency(name, self.environment, kwargs)
except DependencyException as e:
exception = e
- pass
# Search inside the projects list
if not dep or not dep.found():
diff --git a/tools/cmake2meson.py b/tools/cmake2meson.py
index eae6344..0789a0c 100755
--- a/tools/cmake2meson.py
+++ b/tools/cmake2meson.py
@@ -74,7 +74,6 @@ class Lexer:
lineno += 1
col = 1
line_start = mo.end()
- pass
elif tid == 'varexp':
yield(Token('varexp', match_text[2:-1]))
else: