diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2022-08-23 15:59:32 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2022-11-04 14:47:30 +0100 |
commit | 31392801794f057dab9df4b3f4cd7b516210c199 (patch) | |
tree | 57cd4d9200b8468ddb67d46f0274aca8061a522f /gcc/expr.cc | |
parent | 72baa4e2b7f8dfdb2c49950e12a397ef00d3bc16 (diff) | |
download | gcc-31392801794f057dab9df4b3f4cd7b516210c199.zip gcc-31392801794f057dab9df4b3f4cd7b516210c199.tar.gz gcc-31392801794f057dab9df4b3f4cd7b516210c199.tar.bz2 |
ada: Cleanup code for unreferenced variables
Further cleanups related to warnings about unreferenced objects.
gcc/ada/
* sem_warn.adb (Check_References): Remove useless query for "spec"
of a variable; refactor nested if-statements into a single
condition.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions