summaryrefslogtreecommitdiffstats
path: root/src/map
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2019-10-04 10:47:46 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2019-10-04 10:47:46 -0700
commit3b4e9573bc689e5b612669042179d44f2131b359 (patch)
tree40d36a410dad4ff91fa39719c6612aa7f79f7d2d /src/map
parent623b5e82513d076a19f864c01930ad1838498894 (diff)
downloadabc-3b4e9573bc689e5b612669042179d44f2131b359.tar.gz
abc-3b4e9573bc689e5b612669042179d44f2131b359.tar.bz2
abc-3b4e9573bc689e5b612669042179d44f2131b359.zip
Small bug in the unused code.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/scl/sclLiberty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/scl/sclLiberty.c b/src/map/scl/sclLiberty.c
index cd28a607..91804bc5 100644
--- a/src/map/scl/sclLiberty.c
+++ b/src/map/scl/sclLiberty.c
@@ -730,7 +730,7 @@ Vec_Str_t * Scl_LibertyReadGenlibStr( Scl_Tree_t * p, int fVerbose )
// iterate through output pins
Scl_ItemForEachChildName( p, pCell, pOutput, "pin" )
{
- if ( (pFormula = Scl_LibertyReadPinFormula(p, pOutput)) )
+ if ( !(pFormula = Scl_LibertyReadPinFormula(p, pOutput)) )
continue;
if ( !strcmp(pFormula, "0") || !strcmp(pFormula, "1") )
{