summaryrefslogtreecommitdiffstats
path: root/src/map/mio
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-02-17 00:06:39 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2012-02-17 00:06:39 -0800
commit2d316b86e29704c28487533518bf67f2672fcd8f (patch)
treeaa7531d477e2e287a60a0fd41da9b2284e3eceba /src/map/mio
parent97856d021a1282cf3fb9a86701fff3ec403fe912 (diff)
downloadabc-2d316b86e29704c28487533518bf67f2672fcd8f.tar.gz
abc-2d316b86e29704c28487533518bf67f2672fcd8f.tar.bz2
abc-2d316b86e29704c28487533518bf67f2672fcd8f.zip
Silencing some of the gcc warnings.
Diffstat (limited to 'src/map/mio')
-rw-r--r--src/map/mio/exp.h2
-rw-r--r--src/map/mio/mio.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/map/mio/exp.h b/src/map/mio/exp.h
index 40dff2e8..a76f33cb 100644
--- a/src/map/mio/exp.h
+++ b/src/map/mio/exp.h
@@ -153,7 +153,7 @@ static inline Vec_Int_t * Exp_Or( int * pMan, int nVars, Vec_Int_t * p0, Vec_Int
}
static inline Vec_Int_t * Exp_Xor( int * pMan, int nVars, Vec_Int_t * p0, Vec_Int_t * p1 )
{
- int i, v = 0, Len0 = Vec_IntSize(p0), Len1 = Vec_IntSize(p1);
+ int i, Len0 = Vec_IntSize(p0), Len1 = Vec_IntSize(p1);
Vec_Int_t * r = Vec_IntAlloc( Len0 + Len1 + 5 );
assert( (Len0 & 1) && (Len1 & 1) );
Vec_IntPush( r, 2 * (nVars + Len0/2 + Len1/2 + 2) );
diff --git a/src/map/mio/mio.c b/src/map/mio/mio.c
index f7eddab2..a4596c9f 100644
--- a/src/map/mio/mio.c
+++ b/src/map/mio/mio.c
@@ -41,7 +41,7 @@ static int Mio_CommandPrintLibrary( Abc_Frame_t * pAbc, int argc, char **argv );
static int Mio_CommandReadLibrary2( Abc_Frame_t * pAbc, int argc, char **argv );
static int Mio_CommandPrintLibrary2( Abc_Frame_t * pAbc, int argc, char **argv );
-
+/*
// internal version of GENLIB library
static char * pMcncGenlib[25] = {
"GATE inv1 1 O=!a; PIN * INV 1 999 0.9 0.0 0.9 0.0\n",
@@ -66,7 +66,7 @@ static char * pMcncGenlib[25] = {
"GATE zero 0 O=CONST0;\n",
"GATE one 0 O=CONST1;\n"
};
-
+*/
////////////////////////////////////////////////////////////////////////
/// FUNCTION DEFINITIONS ///
////////////////////////////////////////////////////////////////////////