Remove Redundant "If" Check (#49324)
authorAlex-ABWorld <alexbu2015@hotmail.com>
Sat, 13 Mar 2021 03:26:57 +0000 (03:26 +0000)
committerGitHub <noreply@github.com>
Sat, 13 Mar 2021 03:26:57 +0000 (19:26 -0800)
commit2b55b103e1dfb7c0afcc8042fd154be345fb3744
treeaa476a4ed019d08c24bbb9e7492d080945cb5795
parent98527b92a474920c1616fe71a0af3d4d8baab094
Remove Redundant "If" Check (#49324)

Remove a redundant "NULL" check on a clearly NULL value, and corrected comments to correctly represent the current state of the function.

There are no longer any security checks, and as such the mentions of it are also redundant and have been removed.
src/coreclr/vm/comdelegate.cpp