diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2023-08-23 15:53:07 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-09-05 13:05:16 +0200 |
commit | e394afd4a584fb4546be3b79270620f79989a387 (patch) | |
tree | 6b4e031e9a3fb356361660c8a98e19b50c59c13a /gcc/ada/gcc-interface/misc.cc | |
parent | adb3b4d11cb11a35b17bef2590bcdf6bffb06f21 (diff) | |
download | gcc-e394afd4a584fb4546be3b79270620f79989a387.zip gcc-e394afd4a584fb4546be3b79270620f79989a387.tar.gz gcc-e394afd4a584fb4546be3b79270620f79989a387.tar.bz2 |
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.
Diffstat (limited to 'gcc/ada/gcc-interface/misc.cc')
0 files changed, 0 insertions, 0 deletions