clang warnings again (#2055)

* s

* changelog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
This commit is contained in:
Matthew Kennedy 2020-12-11 10:59:28 -08:00 committed by GitHub
parent b41ca74386
commit 83a65032d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,7 @@ void initializeIgnitionActions(DECLARE_ENGINE_PARAMETER_SIGNATURE);
int isIgnitionTimingError(void);
#define TRIGGER_EVENT_UNDEFINED -1
#define TRIGGER_EVENT_UNDEFINED INT32_MAX
bool scheduleOrQueue(AngleBasedEvent *event,
uint32_t trgEventIndex,
efitick_t edgeTimestamp,

View File

@ -23,7 +23,6 @@ ifeq ($(USE_OPT),)
USE_OPT = -c -Wall -O0 -ggdb -g3
USE_OPT += -fprofile-arcs -ftest-coverage
USE_OPT += -Werror=missing-field-initializers
USE_OPT += -Wno-unused-parameter -Wno-unused-function
endif
@ -243,7 +242,7 @@ TOPT = -mthumb -DTHUMB
CWARN = -Wall -Wextra -Wstrict-prototypes -pedantic -Wmissing-prototypes -Wold-style-definition
# Define C++ warning options here
CPPWARN = -Wall -Wextra
CPPWARN = -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable -Wno-format -Wno-unused-parameter -Wno-unused-private-field
#
# Compiler settings