]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Remove duplicate statement
authorRonan Desplanques <desplanques@adacore.com>
Tue, 2 Apr 2024 16:27:39 +0000 (18:27 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 21 May 2024 07:26:48 +0000 (09:26 +0200)
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.

gcc/ada/frontend.adb

index bd0f0c44ff4ecdc1138534e8bb633eb638a8076a..ece0e728e4a658b384845f89c151dba6ad0e9a54 100644 (file)
@@ -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