mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-21 15:50:50 +08:00
[Ada] Sem_Ch13: fix uninitialized parameter static analysis warning
No functional change. 2019-08-20 Bob Duff <duff@adacore.com> gcc/ada/ * sem_ch13.adb (Record_Hole_Check): Initialize After_Last. From-SVN: r274719
This commit is contained in:
parent
b6ad3c0844
commit
a89a0dd3b7
@ -1,3 +1,7 @@
|
||||
2019-08-20 Bob Duff <duff@adacore.com>
|
||||
|
||||
* sem_ch13.adb (Record_Hole_Check): Initialize After_Last.
|
||||
|
||||
2019-08-20 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* impunit.adb (Get_Kind_Of_Unit): Revert change for adapting
|
||||
|
@ -10438,6 +10438,8 @@ package body Sem_Ch13 is
|
||||
Sbit := Uint_0;
|
||||
end if;
|
||||
|
||||
After_Last := Uint_0;
|
||||
|
||||
if Nkind (Decl) = N_Full_Type_Declaration then
|
||||
Record_Definition := Type_Definition (Decl);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user