summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/java.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2023-12-05 14:48:39 -0500
committerEli Schwartz <eschwartz93@gmail.com>2023-12-05 19:52:23 -0500
commit39ecfc2d542ae7e248119b5dcb6f0a01493e2ae6 (patch)
tree8aa83601e664b5bcd19f786df5a15f0c0fab141f /mesonbuild/compilers/java.py
parent5f659af870011e74299d1455a65c2cd5f5ace51f (diff)
downloadmeson-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.py3
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 = './'