Commit b2b93858 by Alan Mishchenko

Compiler warnings.

parent 4c5bfbe7
...@@ -302,7 +302,7 @@ addWalshInt( ...@@ -302,7 +302,7 @@ addWalshInt(
int n) int n)
{ {
DdNode *one, *minusone; DdNode *one, *minusone;
DdNode *t, *u, *t1, *u1, *v, *w; DdNode *t = NULL, *u = NULL, *t1, *u1, *v, *w;
int i; int i;
one = DD_ONE(dd); one = DD_ONE(dd);
......
...@@ -1630,7 +1630,7 @@ ddSymmSiftingBackward( ...@@ -1630,7 +1630,7 @@ ddSymmSiftingBackward(
int size) int size)
{ {
Move *move; Move *move;
int res; int res = -1;
for (move = moves; move != NULL; move = move->next) { for (move = moves; move != NULL; move = move->next) {
if (move->size < size) { if (move->size < size) {
......
...@@ -1434,7 +1434,7 @@ cuddZddSymmSiftingBackward( ...@@ -1434,7 +1434,7 @@ cuddZddSymmSiftingBackward(
int i; int i;
int i_best; int i_best;
Move *move; Move *move;
int res; int res = -1;
i_best = -1; i_best = -1;
for (move = moves, i = 0; move != NULL; move = move->next, i++) { for (move = moves, i = 0; move != NULL; move = move->next, i++) {
......
...@@ -80,7 +80,7 @@ int Map_LibraryRead( Map_SuperLib_t * pLib, char * pFileName ) ...@@ -80,7 +80,7 @@ int Map_LibraryRead( Map_SuperLib_t * pLib, char * pFileName )
int Map_LibraryReadFile( Map_SuperLib_t * pLib, FILE * pFile ) int Map_LibraryReadFile( Map_SuperLib_t * pLib, FILE * pFile )
{ {
ProgressBar * pProgress; ProgressBar * pProgress;
char pBuffer[2000]; char pBuffer[5000];
FILE * pFileGen; FILE * pFileGen;
Map_Super_t * pGate; Map_Super_t * pGate;
char * pTemp = NULL; // Suppress "might be used uninitialized" char * pTemp = NULL; // Suppress "might be used uninitialized"
......
...@@ -78,7 +78,7 @@ int Abc_SclCheckNtk( Abc_Ntk_t * p, int fVerbose ) ...@@ -78,7 +78,7 @@ int Abc_SclCheckNtk( Abc_Ntk_t * p, int fVerbose )
int Abc_SclCheckNtk2( Abc_Ntk_t * p ) int Abc_SclCheckNtk2( Abc_Ntk_t * p )
{ {
Abc_Obj_t * pObj, * pFanout; Abc_Obj_t * pObj, * pFanout;
int i, k, fFlag = 0; int i, k;
Abc_NtkStartReverseLevels( p, 0 ); Abc_NtkStartReverseLevels( p, 0 );
Abc_NtkForEachNode( p, pObj, i ) Abc_NtkForEachNode( p, pObj, i )
{ {
......
...@@ -104,7 +104,7 @@ static int Abc_SclCompareCells( SC_Cell ** pp1, SC_Cell ** pp2 ) ...@@ -104,7 +104,7 @@ static int Abc_SclCompareCells( SC_Cell ** pp1, SC_Cell ** pp2 )
} }
void Abc_SclLinkCells( SC_Lib * p ) void Abc_SclLinkCells( SC_Lib * p )
{ {
SC_Cell * pCell, * pRepr; SC_Cell * pCell, * pRepr = NULL;
int i, k; int i, k;
assert( Vec_PtrSize(p->vCellOrder) == 0 ); assert( Vec_PtrSize(p->vCellOrder) == 0 );
SC_LitForEachCell( p, pCell, i ) SC_LitForEachCell( p, pCell, i )
......
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