tunabrain / tungsten

High performance physically based renderer in C++11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove unnecessary null pointer checks

elfring opened this issue · comments

Hi!

One of these is in embree, which is a third-party library that I would prefer not to change. I'm not too comfortable removing the null pointer check in the first example, as I faintly remember a reason for it being there.

Thanks!