ada: Remove redundant guards from handling of record components
commit8cb3fcc43818344002e38ea78979b77b62649906
authorPiotr Trojanek <trojanek@adacore.com>
Fri, 17 Mar 2023 13:10:32 +0000 (17 14:10 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Fri, 26 May 2023 07:29:16 +0000 (26 09:29 +0200)
tree4fdc71b3daae97418fafe7e7b90117483196e3fd
parent1a9c7e9ca214d107b52d4ecd6cbb54b3bea62158
ada: Remove redundant guards from handling of record components

Call to First on empty list is intentionally returning Empty.

gcc/ada/

* sem_util.adb (Gather_Components): Remove guard for empty list of
components.
gcc/ada/sem_util.adb