mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
panic: ignore deliberate null dereference to pass static analysis
This commit is contained in:
parent
62f9f42b54
commit
06c46837ce
@ -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…
x
Reference in New Issue
Block a user