Actions
Task #3001
closed
VJ
OD
github-ci: add check that catches unused functions
Task #3001:
github-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
AH Updated by Andreas Herz almost 7 years ago
- Assignee set to OISF Dev
PA Updated by Philippe Antoine over 5 years ago
Do not we have -Wall -Werror in the CI ?
JI Updated by Jason Ish over 4 years ago
- Subject changed from travis-ci: add check that catches unused functions to github-ci: add check that catches unused functions
PA Updated by Philippe Antoine over 4 years ago
- Status changed from New to Closed
Actions