gdb: use assignment to initialize variable in tdesc_parse_xml
authorSimon Marchi <simon.marchi@polymtl.ca>
Fri, 3 Feb 2023 13:23:32 +0000 (08:23 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 3 Feb 2023 13:23:39 +0000 (08:23 -0500)
commite3ee979c1f24984eb93b32822338aa425afbc2af
treeb1deef277b0c863670313645234dfaec9377bbc6
parent9a4a44998662fc71b821ce46ad71e5063b38d758
gdb: use assignment to initialize variable in tdesc_parse_xml

Since allocate_target_description returns a target_desc_up, use
assignment to initialize the description variable.

Change-Id: Iab3311642c09b95648984f305936f4a4cde09440
gdb/xml-tdesc.c