Project

General

Profile

Actions

Task #3001

closed

github-ci: add check that catches unused functions

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

  • Assignee set to OISF Dev
Actions #2

Updated by Philippe Antoine about 3 years ago

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

Actions #3

Updated by Jason Ish over 2 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