Remove unnecessary cast
authorTom Tromey <tromey@adacore.com>
Wed, 22 Mar 2023 19:22:24 +0000 (13:22 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 22 Mar 2023 19:22:24 +0000 (13:22 -0600)
commit52ec426b5eb6a323d61a5049fd46a6117eecc6f5
tree7a4401c8d580e9e2500784151a500731130ab975
parent1c3b2b83dc2a289d3b5a7be4838c8ce3977f4124
Remove unnecessary cast

I found an upcast from template_symbol to symbol.  This was necessary
long ago, but since symbols use inheritance now, it is not.  This
patch removes it.  Tested by rebuilding.
gdb/dwarf2/read.c