TrinityCore/TrinityCore — comment on commit 81fea2d7b51549c340866050f93e3780503112f7
File: src/server/game/Spells/SpellEffects.cpp line 7022
By Ciclop:

this will never happen because if(!pet) means if (pet == 0) and deleting a null pointer don't do anything