irRoute.c: warning: expression which evaluates to zero treated as a null pointer ...
Use of FALSE instead of NULL on a pointer type. irRoute.c:1101:19: warning: expression which evaluates to zero treated as a null pointer constant of type 'RouteContact *' (aka 'struct routecontact *') clang18 default warning cleanup [-Wnon-literal-null-conversion]
This commit is contained in:
parent
4460c5f1f5
commit
ade50dfc88
|
|
@ -1098,7 +1098,7 @@ irChooseEndPtLayers(routeUse,expansionMask,endPt,argLayers,endPtName)
|
|||
}
|
||||
TxPrintf("\n");
|
||||
|
||||
for(pickedRC=FALSE,l=presentContacts; l && !pickedRC; l=LIST_TAIL(l))
|
||||
for(pickedRC=NULL,l=presentContacts; l && !pickedRC; l=LIST_TAIL(l))
|
||||
{
|
||||
rC = (RouteContact *) LIST_FIRST(l);
|
||||
if (!LIST_TAIL(l) && !presentLayers)
|
||||
|
|
|
|||
Loading…
Reference in New Issue