Fix unused var compiler warning
This commit is contained in:
parent
d182ecb2d3
commit
48e88e4e74
|
|
@ -1055,7 +1055,7 @@ void EmitCStmts::displayEmit(AstNode* nodep, bool isScan) {
|
|||
// NOP
|
||||
} else {
|
||||
// Format
|
||||
bool isStmt;
|
||||
bool isStmt = false;
|
||||
if (AstFScanF* dispp = nodep->castFScanF()) {
|
||||
isStmt = false;
|
||||
puts("VL_FSCANF_IX(");
|
||||
|
|
@ -1086,6 +1086,7 @@ void EmitCStmts::displayEmit(AstNode* nodep, bool isScan) {
|
|||
dispp->lhsp()->iterate(*this);
|
||||
putbs(",");
|
||||
} else if (AstSFormatF* dispp = nodep->castSFormatF()) {
|
||||
isStmt = false;
|
||||
if (dispp) {}
|
||||
puts("VL_SFORMATF_NX(");
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue