Use NULL instead of 0 in null comparison.
This commit is contained in:
parent
7d97ef7e4a
commit
cd32e65632
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user