Skip to content

Commit

Permalink
Add warning if name not found in get_scanner_from_name
Browse files Browse the repository at this point in the history
  • Loading branch information
robbietuk committed Oct 6, 2024
1 parent 6417022 commit c21e25b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/buildblock/Scanner.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2206,6 +2206,7 @@ Scanner::get_scanner_from_name(const string& name)
type = static_cast<Type>(int_type);
}
// it's not in the list
warning("Scanner::get_scanner_from_name: scanner %s not found", name.c_str());
return new Scanner(Unknown_scanner);
}

Expand Down

0 comments on commit c21e25b

Please sign in to comment.