Hacker News new | ask | show | jobs
by logicallee 4429 days ago
I don't think you should be testing for truth implicitly like that, try

if ((bool(b->d != NULL) == true) { }

much better to be explicit, don't you think?

1 comments

Assuming this is satire, LOL :)