diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2021-12-07 20:16:02 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-01-06 17:11:38 +0000 |
commit | 00a66280cdafe17ad76944baac6fb7d0ae83e802 (patch) | |
tree | 615753742e33e50d0418d7a1668049910609cbf7 | |
parent | 005146582c2ac4d6d451784f15781f11ce4f225b (diff) | |
download | gcc-00a66280cdafe17ad76944baac6fb7d0ae83e802.zip gcc-00a66280cdafe17ad76944baac6fb7d0ae83e802.tar.gz gcc-00a66280cdafe17ad76944baac6fb7d0ae83e802.tar.bz2 |
[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.
-rw-r--r-- | gcc/ada/err_vars.ads | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/ada/err_vars.ads b/gcc/ada/err_vars.ads index 819d1ad..55fd5f3 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 |