mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
cppcheck: Suppress incorrectStringBooleanError
This triggers on `assert(condition && "message")`, which we use fairly frequently.
This commit is contained in:
parent
534f694cee
commit
8343e61795
|
@ -8,3 +8,5 @@ varFuncNullUB
|
||||||
// the warning being suppressed. In other words this unmatchedSuppression
|
// the warning being suppressed. In other words this unmatchedSuppression
|
||||||
// warnings are false positives.
|
// warnings are false positives.
|
||||||
unmatchedSuppression
|
unmatchedSuppression
|
||||||
|
// Suppress this one because it reports assert(condition && "message"), which we use all over the place
|
||||||
|
incorrectStringBooleanError
|
||||||
|
|
Loading…
Reference in New Issue
Block a user