c2a: Clean-up no-ops with 'pass'

Bug: 243662244
Test: -
Change-Id: Ib62b19c18da7e3a44c74303a72a9c27f9d8b3315
This commit is contained in:
Pierre-Clément Tosi
2022-08-24 16:19:02 +01:00
parent e5342d134a
commit fd12b5feed

View File

@@ -428,14 +428,13 @@ class Crate(object):
elif arg == '--out-dir' or arg == '--color': # ignored
i += 1
elif arg.startswith('--error-format=') or arg.startswith('--json='):
_ = arg # ignored
pass # ignored
elif arg.startswith('--emit='):
self.emit_list = arg.replace('--emit=', '')
elif arg.startswith('--edition='):
self.edition = arg.replace('--edition=', '')
elif arg.startswith('-Aclippy') or arg.startswith('-Wclippy'):
# TODO: Consider storing these to include in the Android.bp.
_ = arg # ignored
pass # TODO: Consider storing these to include in the Android.bp.
elif arg.startswith('-W'):
pass # ignored
elif arg.startswith('-D'):