mirror of https://github.com/YosysHQ/abc.git
Compiler warnings.
This commit is contained in:
parent
07bf95f480
commit
bab462d5cd
|
|
@ -2104,7 +2104,7 @@ void Gia_ManSimGen( Gia_Man_t * pGia )
|
|||
Gia_ManForEachCiId( pGia, Id, i )
|
||||
{
|
||||
word * pSim = Vec_WrdEntryP(vSim0, i*nWords);
|
||||
unsigned * pSimU = (unsigned *)pSim;
|
||||
//unsigned * pSimU = (unsigned *)pSim;
|
||||
for ( k = 0; k < nWords; k++ )
|
||||
fprintf( pFile, " unsigned long s%07d_%d = ((unsigned long)rand() << 48) | ((unsigned long)rand() << 32) | ((unsigned long)rand() << 16) | (unsigned long)rand();\n", Id, k );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1151,7 +1151,7 @@ void Acb_Ntk4CollectRing( Acb_Ntk_t * pNtk, Vec_Int_t * vStart, Vec_Int_t * vRes
|
|||
}
|
||||
void Acb_Ntk4DumpWeightsInt( Acb_Ntk_t * pNtk, Vec_Int_t * vObjs, char * pFileName )
|
||||
{
|
||||
int i, iObj, Count = 0;//, Weight;
|
||||
int i, iObj;//, Count = 0;//, Weight;
|
||||
Vec_Int_t * vDists, * vStart, * vNexts;
|
||||
FILE * pFile = fopen( pFileName, "wb" );
|
||||
if ( pFile == NULL )
|
||||
|
|
|
|||
Loading…
Reference in New Issue