Use a common definition of a "this variable is unused" annotation for useless
variables only present for their lambda global initializers, to silence gcc's
warning.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/xray/xray_fdr_logging.cc | ||
---|---|---|
526 ↗ | (On Diff #88079) | Where does UNUSED come from? |
lib/xray/xray_fdr_logging.cc | ||
---|---|---|
526 ↗ | (On Diff #88079) | $ git grep UNUSED | grep \#define This comes from the sanitizer_common header set. |
lib/xray/xray_fdr_logging.cc | ||
---|---|---|
526 ↗ | (On Diff #88079) | Don't you need to include a header to get that definition? |
lib/xray/xray_fdr_logging.cc | ||
---|---|---|
526 ↗ | (On Diff #88079) | Apparently not. Landed without further changes after local testing. |