diff --git a/kernel/fstdata.cc b/kernel/fstdata.cc index 307c573e8..fd72ed4c5 100644 --- a/kernel/fstdata.cc +++ b/kernel/fstdata.cc @@ -460,7 +460,7 @@ std::string FstData::autoScope(Module *topmod) { log_warning("Multiple scopes found for module '%s'. Using the first one.\n", top); } - std::string scope = results[0]; + scope = results[0]; } return scope; }