Skip to content

Commit 4d04ba7

Browse files
authored
Disable unused-parameter warnings. (#4)
These warnings cause build failures in release builds when arguments are tested with debug-only assertions. This will be a breaking change.
1 parent fb16dad commit 4d04ba7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

strict_warnings_objc_library.bzl

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ COMMON_COPTS = [
3939
"-Wunused-variable",
4040
"-Wunused-volatile-lvalue",
4141
"-Wused-but-marked-unused",
42+
"-Wno-unused-parameter", # Enabled by -Wall via -Wunused, problems with params used in asserts.
4243
]
4344

4445
def strict_warnings_objc_library(

0 commit comments

Comments
 (0)