mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
bbox_derive: fix unininitialized memory UB when run with no named args
This commit is contained in:
parent
4c000d3aba
commit
e8c58a5528
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ struct BboxDerivePass : Pass {
|
|||
}
|
||||
extra_args(args, argidx, d);
|
||||
|
||||
Module *base_override;
|
||||
Module *base_override = nullptr;
|
||||
if (!base_name.empty()) {
|
||||
base_override = d->module(base_name);
|
||||
if (!base_override)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue