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: nodejs#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 committed Feb 23, 2024
1 parent 0992002 commit f22802c
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 f22802c

Please sign in to comment.