Venugh/TrinityCore — comment on commit c38e10324d7ee7a3f6f59a604d24784dba1d272e
File:  line 0
By LordJZ:

Obviously enough, `m_posLookup` and/or `h` are bad.

The changes @Venugh has done are pointless; he hasn't changed anything.
Expression `NULL == 0` always evaluates to `1`, both in C and C++.
When working with pointers, `0` and `NULL` is completely equal both in C and C++. When working with integers, the only difference between C and C++0 is that in C you can't write `int i = NULL;`
`if (a)` translates to the following: `if (a != 0)` (`a` is of any type). And `a != 0` evaluates to `true`, if `a` is non-zero (less than zero or greater than zero), and evaluates to `false` if `a` is zero. As I said, there's completely no difference here between `0` and `NULL`.