From: Arnaud Charlet Date: Wed, 11 Nov 2020 16:32:34 +0000 (-0500) Subject: [Ada] Potential read of uninitialized variable in exp_dist.adb X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b514643caeac517d06482a70f8fa38328601dd7a;p=gcc.git [Ada] Potential read of uninitialized variable in exp_dist.adb gcc/ada/ * exp_dist.adb (RCI_Cache): Initialize. --- diff --git a/gcc/ada/exp_dist.adb b/gcc/ada/exp_dist.adb index 760a4123216..2d3f75d51e8 100644 --- a/gcc/ada/exp_dist.adb +++ b/gcc/ada/exp_dist.adb @@ -902,7 +902,7 @@ package body Exp_Dist is -- Local variables and structures -- ------------------------------------ - RCI_Cache : Node_Id; + RCI_Cache : Node_Id := Empty; -- Needs comments ??? Output_From_Constrained : constant array (Boolean) of Name_Id :=