Commit 62b85322 by Rajit Manohar

no need to call strlen on a constant

parent bbdfe37b
......@@ -197,7 +197,7 @@ void Abc_SclTimeNtkPrint( SC_Man * p, int fShowAll, int fPrintPath )
while ( pObj && Abc_ObjIsNode(pObj) )
{
i++;
nLength = Abc_MaxInt( nLength, strlen((Abc_SclObjCell(pObj) ? Abc_SclObjCell(pObj)->pName : "pi")) );
nLength = Abc_MaxInt( nLength, Abc_SclObjCell(pObj) ? strlen(Abc_SclObjCell(pObj)->pName) : 2 /* strlen("pi") */ );
pObj = Abc_SclFindMostCriticalFanin( p, &fRise, pObj );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment