Actions
Task #3001
closedgithub-ci: add check that catches unused functions
Description
Make sure this warning is caught and fatal in Travis-CI:
CC output-json-anomaly.o output-json-anomaly.c:323:13: error: 'JsonAnomalyLogDeInitCtx' defined but not used [-Werror=unused-function] static void JsonAnomalyLogDeInitCtx(OutputCtx *output_ctx) ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors
Updated by Philippe Antoine almost 4 years ago
Do not we have -Wall -Werror in the CI ?
Updated by Jason Ish about 3 years ago
- Subject changed from travis-ci: add check that catches unused functions to github-ci: add check that catches unused functions
Updated by Philippe Antoine about 3 years ago
- Status changed from New to Closed
Actions