https://gcc.gnu.org/g:417b6bd4783665cb3dae1569ece57e4a033cafef

commit r15-731-g417b6bd4783665cb3dae1569ece57e4a033cafef
Author: Ronan Desplanques <desplanq...@adacore.com>
Date:   Tue Apr 2 18:27:39 2024 +0200

    ada: Remove duplicate statement
    
    This patch removes a duplicate statement that was useless and could
    be misleading to the reader by suggesting that there are multiple
    global variables named Style_Check, while there is just one.
    
    gcc/ada/
    
            * frontend.adb (Frontend): Remove duplicate statement.

Diff:
---
 gcc/ada/frontend.adb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/ada/frontend.adb b/gcc/ada/frontend.adb
index bd0f0c44ff4..ece0e728e4a 100644
--- a/gcc/ada/frontend.adb
+++ b/gcc/ada/frontend.adb
@@ -158,7 +158,6 @@ begin
       --  intended -gnatg or -gnaty compilations. We also disconnect checking
       --  for maximum line length.
 
-      Opt.Style_Check := False;
       Style_Check := False;
 
       --  Capture current suppress options, which may get modified

Reply via email to