From 00a66280cdafe17ad76944baac6fb7d0ae83e802 Mon Sep 17 00:00:00 2001 From: Piotr Trojanek Date: Tue, 7 Dec 2021 20:16:02 +0100 Subject: [PATCH] [Ada] Remove unreferenced Warn_On_Instance gcc/ada/ * err_vars.ads (Warn_On_Instance): Remove; it was a relic from the previous handling of warning in instances that was removed decades ago. --- gcc/ada/err_vars.ads | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gcc/ada/err_vars.ads b/gcc/ada/err_vars.ads index 819d1ad9ad35..55fd5f3a15b8 100644 --- a/gcc/ada/err_vars.ads +++ b/gcc/ada/err_vars.ads @@ -61,14 +61,6 @@ package Err_Vars is -- not get reset by any Error_Msg call, so the caller is responsible -- for resetting it. - Warn_On_Instance : Boolean := False; - -- Normally if a warning is generated in a generic template from the - -- analysis of the template, then the warning really belongs in the - -- template, and the default value of False for this Boolean achieves - -- that effect. If Warn_On_Instance is set True, then the warnings are - -- generated on the instantiation (referring to the template) rather - -- than on the template itself. - Raise_Exception_On_Error : Nat := 0; -- If this value is non-zero, then any attempt to generate an error -- message raises the exception Error_Msg_Exception, and the error -- 2.47.2