Use NULL instead of 0 in null comparison.

This commit is contained in:
Markus Blatt 2016-06-27 14:38:30 +02:00
parent f976c6ee9d
commit b5f6513520

View File

@ -550,7 +550,7 @@ wells_equal(const struct Wells *W1, const struct Wells *W2 , bool verbose)
{ {
return true; return true;
} }
if( W1 == 0 || W2 == 0) if( W1 == NULL || W2 == NULL)
{ {
return false; return false;
} }