Why is zero assigned to null pointer?
Closed this issue · 2 comments
aitazhixin commented
Line 82 in 358ab08
In the macro, pointer *p is NULL. Then, in the next line, 0 is assigned to *p.
What is the reason?
michael-methner commented
It's to make the application crash in case of fatal logs (if the feature is enabled, default=off).
Details can be found in the corresponding commit message: fc91110
aitazhixin commented
@michael-methner Thanks. Get it.