diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-02-16 23:40:23 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-02-16 23:40:23 -0800 |
commit | 97856d021a1282cf3fb9a86701fff3ec403fe912 (patch) | |
tree | 7dbd5471eb417540ad39fa6079ac8c32a2e06222 /src/misc | |
parent | 791b107e7a225103ee76c921c3c4a96d0e1adae2 (diff) | |
download | abc-97856d021a1282cf3fb9a86701fff3ec403fe912.tar.gz abc-97856d021a1282cf3fb9a86701fff3ec403fe912.tar.bz2 abc-97856d021a1282cf3fb9a86701fff3ec403fe912.zip |
Silencing some of the gcc warnings.
Diffstat (limited to 'src/misc')
-rw-r--r-- | src/misc/extra/extraBddMisc.c | 2 | ||||
-rw-r--r-- | src/misc/extra/extraUtilUtil.c | 2 | ||||
-rw-r--r-- | src/misc/util/utilFile.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/misc/extra/extraBddMisc.c b/src/misc/extra/extraBddMisc.c index 4512572d..a5f987e3 100644 --- a/src/misc/extra/extraBddMisc.c +++ b/src/misc/extra/extraBddMisc.c @@ -1781,7 +1781,7 @@ DdNode * extraBddChangePolarity( if ( Cudd_IsConstant(bFunc) ) return bFunc; - if ( bRes = cuddCacheLookup2(dd, extraBddChangePolarity, bFunc, bVars) ) + if ( (bRes = cuddCacheLookup2(dd, extraBddChangePolarity, bFunc, bVars)) ) return bRes; else { diff --git a/src/misc/extra/extraUtilUtil.c b/src/misc/extra/extraUtilUtil.c index 37ea9321..fe8b25f1 100644 --- a/src/misc/extra/extraUtilUtil.c +++ b/src/misc/extra/extraUtilUtil.c @@ -399,7 +399,7 @@ double Extra_CpuTimeDouble() ***********************************************************************/ void Extra_MemTest() { - ABC_ALLOC( char, 1002 ); +// ABC_ALLOC( char, 1002 ); } //////////////////////////////////////////////////////////////////////// diff --git a/src/misc/util/utilFile.c b/src/misc/util/utilFile.c index 69d84c29..a25c5b2c 100644 --- a/src/misc/util/utilFile.c +++ b/src/misc/util/utilFile.c @@ -68,6 +68,8 @@ static ABC_UINT64_T realTimeAbs() // -- absolute time in nano-seconds ok = QueryPerformanceCounter(&t); assert(ok); return (ABC_UINT64_T)(__int64)(((__int64)(((ABC_UINT64_T)t.LowPart | ((ABC_UINT64_T)t.HighPart << 32))) * realTime_freq * 1000000000)); +#else + return 0; #endif } |