PKX/TrinityCore — comment on commit 64e21f76bb2fd210783d4696e3d2414106f82503
File: src/server/scripts/Spells/spell_generic.cpp line 1402
By Lopin:

Why? Don't forget that GetTarget() returns either target or NULL, so you don't check anywhere for NULL pointer. You are possibly mistaken with GetCaster() which doesn't have to be checked because this poinzer is always valid