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
- Build Status
Buildable 3907 Build 3907: arc lint + arc unit
Event Timeline
lib/xray/xray_fdr_logging.cc | ||
---|---|---|
526 | Where does UNUSED come from? |
lib/xray/xray_fdr_logging.cc | ||
---|---|---|
526 | $ git grep UNUSED | grep \#define This comes from the sanitizer_common header set. |
lib/xray/xray_fdr_logging.cc | ||
---|---|---|
526 | Don't you need to include a header to get that definition? |
lib/xray/xray_fdr_logging.cc | ||
---|---|---|
526 | Apparently not. Landed without further changes after local testing. |
Where does UNUSED come from?