Use scoped_restore in safe_parse_type
authorTom Tromey <tromey@adacore.com>
Thu, 11 Aug 2022 17:59:06 +0000 (11:59 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 31 Aug 2022 17:03:40 +0000 (11:03 -0600)
commitc3d4b6a6d9f382d7b88c2d25a1520acc1c3d51bd
tree0f56e84f5dbb87b72112e6753a63671d1306ea60
parentd9f95811860d9b99d539deb80bc6f48f0cee10e8
Use scoped_restore in safe_parse_type

This changes safe_parse_type to use scoped_restore rather than
explicit assignments.
gdb/gdbtypes.c