Commit a89a0dd3 by Bob Duff Committed by Pierre-Marie de Rodat

[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
parent b6ad3c08
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment