mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 00:36:01 -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
|
||||||
#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);
|
while(1);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user