lef: cleanup mark unnecessary call to function with no side-effects
Maybe these function call can be removed or at least their return value discarded (as the returned value is never used).
This commit is contained in:
parent
56bf27548d
commit
ed87c3a98b
|
|
@ -1247,7 +1247,7 @@ LefReadGeometry(
|
|||
{
|
||||
if (is_imported)
|
||||
{
|
||||
int pNum = DBPlane(curlayer);
|
||||
int pNum = DBPlane(curlayer); /* FIXME unused return value from call to function with no side-effects */
|
||||
SearchContext scx;
|
||||
CellUse dummy;
|
||||
PlaneType pt;
|
||||
|
|
|
|||
|
|
@ -304,7 +304,7 @@ LefTechLine(
|
|||
|
||||
if (newlefl == NULL)
|
||||
{
|
||||
float oscale = CIFGetOutputScale(1000);
|
||||
float oscale = CIFGetOutputScale(1000); /* FIXME unused return value from call to function with no side-effects */
|
||||
|
||||
newlefl = (lefLayer *)mallocMagic(sizeof(lefLayer));
|
||||
newlefl->refCnt = 0;
|
||||
|
|
|
|||
|
|
@ -2082,7 +2082,7 @@ lefGetSites(
|
|||
|
||||
propvalue = (char *)DBPropGet(def, "LEFsite", &propfound);
|
||||
if (propfound)
|
||||
he = HashFind(lefSiteTbl, propvalue);
|
||||
he = HashFind(lefSiteTbl, propvalue); /* FIXME return value not used from call to function with no side-effects (reevaluate this entire func purpose?) */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -2124,7 +2124,7 @@ lefGetProperties(
|
|||
while (*psrch != ' ' && *psrch != '\0') psrch++;
|
||||
if (*psrch == '\0') break;
|
||||
*psrch = '\0';
|
||||
he = HashFind(lefPropTbl, key);
|
||||
he = HashFind(lefPropTbl, key); /* FIXME return value not used from call to function with no side-effects */
|
||||
|
||||
/* Potentially to do: Handle INT and REAL types */
|
||||
/* For now, only STRING properties are handled. */
|
||||
|
|
|
|||
Loading…
Reference in New Issue