diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2022-08-21 20:56:26 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-07 09:55:57 +0200 |
commit | e7c7bf30cdc04e73ecc34cfb2d955d1316a0e3eb (patch) | |
tree | 2542b4328d489c8598dad8c0c284f04d58787ef7 /gcc/ada/lib.ads | |
parent | 36ddd8c0988164e2299f1de57866931386e4ceea (diff) | |
download | gcc-e7c7bf30cdc04e73ecc34cfb2d955d1316a0e3eb.zip gcc-e7c7bf30cdc04e73ecc34cfb2d955d1316a0e3eb.tar.gz gcc-e7c7bf30cdc04e73ecc34cfb2d955d1316a0e3eb.tar.bz2 |
ada: Remove redundant guard against empty list of actions
Code cleanup.
gcc/ada/
* exp_ch4.adb (Useful): Remove redundant check for empty list,
because iteration with First works also for empty list; rename
local variable from L to Action.
Diffstat (limited to 'gcc/ada/lib.ads')
0 files changed, 0 insertions, 0 deletions