GN: Suppress unreachable code warnings. (#4476)

These are popping up in a Chromium test integration.

Fixes #4475
This commit is contained in:
Jamie Madill 2021-08-18 08:53:21 -04:00 committed by GitHub
parent 57e1d8ebe3
commit 926ff6d1ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -378,6 +378,8 @@ config("spvtools_internal_config") {
cflags += [ cflags += [
"-Wno-implicit-fallthrough", "-Wno-implicit-fallthrough",
"-Wno-newline-eof", "-Wno-newline-eof",
"-Wno-unreachable-code-break",
"-Wno-unreachable-code-return",
] ]
} else if (!is_win) { } else if (!is_win) {
# Work around a false-positive on a Skia GCC 10 builder. # Work around a false-positive on a Skia GCC 10 builder.