Project

General

Profile

Actions

Task #3001

closed

github-ci: add check that catches unused functions

Added by Victor Julien over 2 years ago. Updated 9 days 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 2 years ago

  • Assignee set to OISF Dev
Actions #2

Updated by Philippe Antoine 8 months ago

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

Actions #3

Updated by Jason Ish 9 days 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