diff options
author | Yannick Moy <moy@adacore.com> | 2023-03-29 15:02:32 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-26 09:29:19 +0200 |
commit | 54783e61dd9bfd0f0289890ba9240deeef1af81a (patch) | |
tree | 950877ba99193167359b46c98b3fa50d7ae45285 /gcc/ada/debug.adb | |
parent | b8a3e2ed647cf5cfec72e9b7801a82a1d9e574a3 (diff) | |
download | gcc-54783e61dd9bfd0f0289890ba9240deeef1af81a.zip gcc-54783e61dd9bfd0f0289890ba9240deeef1af81a.tar.gz gcc-54783e61dd9bfd0f0289890ba9240deeef1af81a.tar.bz2 |
ada: Default initialize entity to avoid CodePeer message
CodePeer issues a false alarm when reading local entity Component later
if not initialized by default. Fix this.
gcc/ada/
* sem_aggr.adb (Resolve_Record_Aggregate): Add dummy initialization and
assertion that clarifies when we reassigned to a useful value.
Diffstat (limited to 'gcc/ada/debug.adb')
0 files changed, 0 insertions, 0 deletions