Project

General

Profile

Actions

Task #3001

closed

github-ci: add check that catches unused functions

Added by Victor Julien over 5 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

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

Actions #1

Updated by Andreas Herz over 5 years ago

  • Assignee set to OISF Dev
Actions #2

Updated by Philippe Antoine almost 4 years ago

Do not we have -Wall -Werror in the CI ?

Actions #3

Updated by Jason Ish over 3 years ago

  • Subject changed from travis-ci: add check that catches unused functions to github-ci: add check that catches unused functions
Actions

Also available in: Atom PDF