vexyl / MCHawk

A Minecraft classic server
MIT License
8 stars 4 forks source link

Deleting all if pointer != nullptr checks before delete #69

Closed GiantCrocodile closed 6 years ago

GiantCrocodile commented 6 years ago

It's not necessary to check if a delete happens on a nullptr. It is risk free anytime.

vexyl commented 6 years ago

Resolved with commit https://github.com/vexyl/MCHawk/commit/45d3b0c35a757a67aadd6a30a94a195af7df4e67.