Commit 511dedd4 authored by David Gibson's avatar David Gibson Committed by Jon Loeliger
Browse files

Re-work level setting on checks code



Currently each of the semantic checks in checks.c has a "level" between
IGNORE and ERROR.  This single level makes it awkward to implement the
semantics we want for toggling the checks on the command line.

This patch reworks the code to instead have separate boolean flags for
warning and error.  At present having both flags set will have the same
effect as having just the error flag set, but this can change in the
future.

Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent f67dfe84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment