[An extra null pointer check is not needed in functions](https://isocpp.org/wiki/faq/freestore-mgmt#delete-handles-null "Do I need to check for null before delete p?") like the following. - [NodeScene::resetPreset](https://github.com/zenustech/zeno/blob/3bfb2eb4ad27dc85d16b34a4fc68f2f8ec1ac55d/ui/zenodesign/nodescene.cpp#L60 "NodeScene::resetPreset function") - [ResizableImageItem::resetImage](https://github.com/zenustech/zeno/blob/3bfb2eb4ad27dc85d16b34a4fc68f2f8ec1ac55d/ui/zenodesign/resizecoreitem.cpp#L81 "ResizableImageItem::resetImage function") - [ZenoMainWindow::initDocks](https://github.com/zenustech/zeno/blob/29925be5289da318b3513463ee614864021f41e2/ui/zenoedit/zenomainwindow.cpp#L284 "ZenoMainWindow::initDocks function")
An extra null pointer check is not needed in functions like the following.