bbox_derive: fix unininitialized memory UB when run with no named args

This commit is contained in:
Emil J. Tywoniak 2024-05-03 20:41:42 +02:00
parent 4c000d3aba
commit e8c58a5528
1 changed files with 1 additions and 1 deletions

View File

@ -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)