]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Initialize Current_Error_Node
authorBob Duff <duff@adacore.com>
Mon, 17 May 2021 10:28:18 +0000 (06:28 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 6 Jul 2021 14:46:59 +0000 (14:46 +0000)
gcc/ada/

* atree.ads (Current_Error_Node): Initialize to Empty.

gcc/ada/atree.ads

index 0995b945aafd48f8d7052dfbf3cb7830f9184b8b..42df9505438b9afc341ed1030dde516e68c86a7d 100644 (file)
@@ -130,7 +130,7 @@ package Atree is
    --  Current_Error_Node is also used for other purposes. See, for example,
    --  Rtsfind.
 
-   Current_Error_Node : Node_Id;
+   Current_Error_Node : Node_Id := Empty;
    --  Node to place compiler abort messages
 
    ------------------