mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-29 01:24:25 +02:00
Fixes for some of clang scan-build detected issues
This commit is contained in:
@@ -4705,8 +4705,7 @@ void AstNode::mem2reg_as_needed_pass1(dict<AstNode*, pool<std::string>> &mem2reg
|
||||
children_flags |= AstNode::MEM2REG_FL_ASYNC;
|
||||
proc_flags_p = new dict<AstNode*, uint32_t>;
|
||||
}
|
||||
|
||||
if (type == AST_INITIAL) {
|
||||
else if (type == AST_INITIAL) {
|
||||
children_flags |= AstNode::MEM2REG_FL_INIT;
|
||||
proc_flags_p = new dict<AstNode*, uint32_t>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user