Since allocate_target_description returns a target_desc_up, use
assignment to initialize the description variable.
Change-Id: Iab3311642c09b95648984f305936f4a4cde09440
return it->second.get ();
memset (&data, 0, sizeof (struct tdesc_parsing_data));
- target_desc_up description (allocate_target_description ());
+ target_desc_up description = allocate_target_description ();
data.tdesc = description.get ();
if (gdb_xml_parse_quick (_("target description"), "gdb-target.dtd",