]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Remove redundant guard against an empty list of interfaces
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 23 Aug 2023 13:53:07 +0000 (15:53 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 5 Sep 2023 11:05:16 +0000 (13:05 +0200)
commite394afd4a584fb4546be3b79270620f79989a387
tree6b4e031e9a3fb356361660c8a98e19b50c59c13a
parentadb3b4d11cb11a35b17bef2590bcdf6bffb06f21
ada: Remove redundant guard against an empty list of interfaces

Code cleanup; semantics is unaffected.

gcc/ada/

* sem_type.adb (Iface_Present_In_Ancestor): Remove guard for empty list
of interfaces; the following loop will work just fine without it.
gcc/ada/sem_type.adb