aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/xml-tdesc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xml-tdesc.c b/gdb/xml-tdesc.c
index ba7154c..a8b0b05 100644
--- a/gdb/xml-tdesc.c
+++ b/gdb/xml-tdesc.c
@@ -638,7 +638,7 @@ tdesc_parse_xml (const char *document, xml_fetch_another fetcher)
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",