Skip to content

Commit

Permalink
build: fix warning in cares under GN build
Browse files Browse the repository at this point in the history
This change can be removed after the upstream fix lands in Node:
c-ares/c-ares#709

PR-URL: #51687
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
  • Loading branch information
zcbenz authored and marco-ippolito committed Feb 27, 2024
1 parent d1a8c2e commit 9be6b7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deps/cares/unofficial.gni
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ template("cares_gn_build") {
cflags_c = [
"-Wno-implicit-fallthrough",
"-Wno-unreachable-code",
# Remove after https://github.com/c-ares/c-ares/pull/709 lands in Node.
"-Wno-unused-result",
]
}
}
Expand Down

0 comments on commit 9be6b7c

Please sign in to comment.