diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2023-01-11 00:16:18 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-15 11:36:42 +0200 |
commit | 1f068a17811a89035e43894686b333e9070f45ef (patch) | |
tree | 899f6b596aa07f6c3b150073ece31b9a4cf61024 /libgcc | |
parent | 78de6f03ca32159dec176c47af7caca6c6c996a1 (diff) | |
download | gcc-1f068a17811a89035e43894686b333e9070f45ef.zip gcc-1f068a17811a89035e43894686b333e9070f45ef.tar.gz gcc-1f068a17811a89035e43894686b333e9070f45ef.tar.bz2 |
ada: Remove redundant protection against empty lists
Calls to First on No_List intentionally return Empty node, so explicit
guards against No_List are unnecessary. Code cleanup; semantics is
unaffected.
gcc/ada/
* sem_util.adb (New_Copy_Tree): Remove redundant calls to Present.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions