Reformat some deeply-indented lines

This commit is contained in:
Rangi42
2024-02-18 18:14:13 -05:00
parent 1b08a12b26
commit 3860ab11c7
2 changed files with 4 additions and 5 deletions

View File

@@ -258,10 +258,10 @@ void processWarningFlag(char *flag)
// Well, it's either a normal warning or a mistake
enum WarningState state = setError ? WARNING_ERROR :
enum WarningState state = setError ? WARNING_ERROR
// Not an error, then check if this is a negation
strncmp(flag, "no-", strlen("no-")) ? WARNING_ENABLED
: WARNING_DISABLED;
: strncmp(flag, "no-", strlen("no-")) ? WARNING_ENABLED
: WARNING_DISABLED;
char *rootFlag = state == WARNING_DISABLED ? flag + strlen("no-") : flag;
// Is this a "parametric" warning?