mirror of https://github.com/YosysHQ/yosys.git
bbox_derive: fix unininitialized memory UB when run with no named args
This commit is contained in:
parent
4c000d3aba
commit
e8c58a5528
|
@ -47,7 +47,7 @@ struct BboxDerivePass : Pass {
|
||||||
}
|
}
|
||||||
extra_args(args, argidx, d);
|
extra_args(args, argidx, d);
|
||||||
|
|
||||||
Module *base_override;
|
Module *base_override = nullptr;
|
||||||
if (!base_name.empty()) {
|
if (!base_name.empty()) {
|
||||||
base_override = d->module(base_name);
|
base_override = d->module(base_name);
|
||||||
if (!base_override)
|
if (!base_override)
|
||||||
|
|
Loading…
Reference in New Issue