diff options
| author | Eli Schwartz <eschwartz93@gmail.com> | 2023-12-05 14:48:39 -0500 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-12-05 19:52:23 -0500 |
| commit | 39ecfc2d542ae7e248119b5dcb6f0a01493e2ae6 (patch) | |
| tree | 8aa83601e664b5bcd19f786df5a15f0c0fab141f /mesonbuild/compilers/java.py | |
| parent | 5f659af870011e74299d1455a65c2cd5f5ace51f (diff) | |
| download | meson-39ecfc2d542ae7e248119b5dcb6f0a01493e2ae6.tar.gz | |
compilers: drop dead code
no_warn_args is unused. Its only purpose was to implement automatic
hiding of UB in transpiled code, and it was not used at all in languages
other than C/C++ -- specifically when the C/C++ source files were
created by transpiling from vala or cython.
Diffstat (limited to 'mesonbuild/compilers/java.py')
| -rw-r--r-- | mesonbuild/compilers/java.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mesonbuild/compilers/java.py b/mesonbuild/compilers/java.py index 9f508d637..fb81682ed 100644 --- a/mesonbuild/compilers/java.py +++ b/mesonbuild/compilers/java.py @@ -52,9 +52,6 @@ class JavaCompiler(BasicLinkerIsCompilerMixin, Compiler): def get_werror_args(self) -> T.List[str]: return ['-Werror'] - def get_no_warn_args(self) -> T.List[str]: - return ['-nowarn'] - def get_output_args(self, outputname: str) -> T.List[str]: if outputname == '': outputname = './' |
