lefRead.c:1334:63: warning: too few arguments in call to 'LefPaintPolygon'

When keep!=FALSE a malloc list is returned, so this looks like a memory leak.

clang18 default warning cleanup
This commit is contained in:
Darryl L. Miles
2024-10-09 21:17:28 -04:00
committed by Tim Edwards
parent f734e27587
commit ef48e40f39
+1 -1
View File
@@ -1331,7 +1331,7 @@ LefReadGeometry(lefMacro, f, oscale, do_list, is_imported)
rectList = rectNew;
if ((!do_list) && (otherlayer != -1))
LefPaintPolygon(lefMacro, pointList, points, otherlayer);
LefPaintPolygon(lefMacro, pointList, points, otherlayer, FALSE);
}
freeMagic(pointList);
}