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 <luigipinca@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
  • Loading branch information
zcbenz authored and richardlau committed Mar 25, 2024
1 parent 2176495 commit 93fcf52
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 93fcf52

Please sign in to comment.