Fun with NULL pointers, part 2
Fun with NULL pointers, part 2
Posted Jul 22, 2009 4:12 UTC (Wed) by gmaxwell (guest, #30048)In reply to: Fun with NULL pointers, part 2 by johill
Parent article: Fun with NULL pointers, part 2
Yes, if the compiler can prove that its impossible for the condition to be true it can and will omit the check. Sadly because the compiler's visibility is so narrow it usually can't do this except in the most obvious of situations.
