panic: ignore deliberate null dereference to pass static analysis
This commit is contained in:
parent
62f9f42b54
commit
06c46837ce
1 changed files with 1 additions and 1 deletions
|
@ -338,6 +338,6 @@ void __attribute__((noreturn)) panic_abort(const char *details)
|
|||
#endif
|
||||
#endif
|
||||
|
||||
*((int *) 0) = 0; // should be an invalid operation on targets
|
||||
*((int *) 0) = 0; // NOLINT(clang-analyzer-core.NullDereference) should be an invalid operation on targets
|
||||
while(1);
|
||||
}
|
Loading…
Reference in a new issue