[cfe-dev] Bug: Unexpected dereference claim on --analyze

Joerg Sonnenberger joerg at britannica.bec.de
Fri Dec 2 13:55:41 PST 2011


On Fri, Dec 02, 2011 at 10:37:03PM +0100, Jan Engelhardt wrote:
> None. There is no way to say with absolute confidence that t->root is
> always NULL or never NULL.

It complains because it sees that you are trying to check the pointer
for NULLness, but it can't prove that the branch has a check for it.

Joerg



More information about the cfe-dev mailing list