aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/misc.cc
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2023-08-23 15:53:07 +0200
committerMarc Poulhiès <poulhies@adacore.com>2023-09-05 13:05:16 +0200
commite394afd4a584fb4546be3b79270620f79989a387 (patch)
tree6b4e031e9a3fb356361660c8a98e19b50c59c13a /gcc/ada/gcc-interface/misc.cc
parentadb3b4d11cb11a35b17bef2590bcdf6bffb06f21 (diff)
downloadgcc-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