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

Also available in: Atom PDF