Remove non-OPT options from Options struct

This commit is contained in:
ISSOtm
2020-04-13 17:15:00 +02:00
parent cdb4c5f553
commit 5fe3a0adb6
6 changed files with 29 additions and 26 deletions

View File

@@ -48,7 +48,7 @@ static bool warningsAreErrors; /* Set if `-Werror` was specified */
static enum WarningState warningState(enum WarningID id)
{
/* Check if warnings are globally disabled */
if (!CurrentOptions.warnings)
if (!warnings)
return WARNING_DISABLED;
/* Get the actual state */