aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_res.adb
diff options
context:
space:
mode:
authorJustin Squirek <squirek@adacore.com>2022-06-30 16:20:52 +0000
committerPierre-Marie de Rodat <derodat@adacore.com>2022-07-13 10:01:14 +0000
commit730814edc8b3c1bc872c54a39064ac59e2b8fdbd (patch)
tree4859c335942d87468bdec8679958832794858693 /gcc/ada/sem_res.adb
parent1d73dfb5e6f60030bb0809266fb9c639eb60fa11 (diff)
downloadgcc-730814edc8b3c1bc872c54a39064ac59e2b8fdbd.zip
gcc-730814edc8b3c1bc872c54a39064ac59e2b8fdbd.tar.gz
gcc-730814edc8b3c1bc872c54a39064ac59e2b8fdbd.tar.bz2
[Ada] Fix CodePeer warnings in GNAT sources
This patch fixes various redundant constructs or uninitialized variables identified by CodePeer in the GNAT frontend and runtime sources. gcc/ada/ * exp_ch6.adb (Expand_N_Extended_Return_Statement): Add default initialization for Stmts. * sem_ch12.adb (Analyze_Associations): Add default initialization for Match. * libgnat/a-ztenau.adb (Scan_Enum_Lit): Remove duplicated boolean test. * libgnat/g-spipat.adb (XMatch): Combine duplicated cases.
Diffstat (limited to 'gcc/ada/sem_res.adb')
0 files changed, 0 insertions, 0 deletions