forked from Imagelibrary/binutils-gdb
Add initializers to bound_minimal_symbol
This adds initializers to bound_minimal_symbol, allowing for the removal of some calls to memset.
This commit is contained in:
@@ -4562,8 +4562,6 @@ ada_lookup_simple_minsym (const char *name)
|
||||
{
|
||||
struct bound_minimal_symbol result;
|
||||
|
||||
memset (&result, 0, sizeof (result));
|
||||
|
||||
symbol_name_match_type match_type = name_match_type_from_name (name);
|
||||
lookup_name_info lookup_name (name, match_type);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user