diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2022-06-08 16:58:18 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-07-05 08:28:20 +0000 |
commit | 076a6d13d1e07a72fb964579316920225829777c (patch) | |
tree | 77592e603295aaa3437d7b203759ec6f3f55eedc /gcc/ada/gcc-interface | |
parent | 5709fac357bb922a9eeecf42adbedd532c00fde6 (diff) | |
download | gcc-076a6d13d1e07a72fb964579316920225829777c.zip gcc-076a6d13d1e07a72fb964579316920225829777c.tar.gz gcc-076a6d13d1e07a72fb964579316920225829777c.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/
* exp_code.adb (Setup_Asm_IO_Args): Remove guard against No_List.
* par_sco.adb (Process_Decisions): Likewise.
* sem_ch13.adb (Check_Component_List): Likewise.
* sem_ch6.adb (FCL): Likewise.
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions