if new returns NULL we have bigger problems…
fix clang warning about undefined behavior
I don’t know what was intended, but I can safely say this is a bettwr way of doing the wrong thing :p
Fix clang warnings about garbage values.