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:
parent
e951225303
commit
29ba33db77
4 changed files with 4 additions and 12 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue