Hacker News new | ask | show | jobs
by throwaway_yy2Di 4519 days ago
It's an optimization, it shows up at -O2.
1 comments

Why put the if in at all then?

Regardless of optimisation, it will never be followed - it segfaults if NULL and returns normally if not.