Message ID | 20171014162857.GA86796@adacore.com |
---|---|
State | New |
Headers | show |
Series | [Ada] Missing warning about replacement of warnings off for unreferenced | expand |
Index: sem_elab.adb =================================================================== --- sem_elab.adb (revision 253753) +++ sem_elab.adb (working copy) @@ -5186,7 +5186,7 @@ -- The variable must be a source entity and susceptible to warnings Comes_From_Source (Var_Id) - and then not Has_Warnings_Off (Var_Id) + and then not Warnings_Off (Var_Id) -- The variable must be declared in the spec of compilation unit U