mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 01:43:00 +02:00
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:
committed by
Tim Edwards
parent
4460c5f1f5
commit
ade50dfc88
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user