aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRonan Desplanques <desplanques@adacore.com>2024-04-02 18:27:39 +0200
committerMarc Poulhiès <poulhies@adacore.com>2024-05-21 09:26:48 +0200
commit417b6bd4783665cb3dae1569ece57e4a033cafef (patch)
treebd5f4a1f197d8c3d3f3db15a9490161d3e5330e9 /gcc
parent933d27af7748c38f1213edceaa6a2edf46f82cc2 (diff)
downloadgcc-417b6bd4783665cb3dae1569ece57e4a033cafef.zip
gcc-417b6bd4783665cb3dae1569ece57e4a033cafef.tar.gz
gcc-417b6bd4783665cb3dae1569ece57e4a033cafef.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/frontend.adb1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/ada/frontend.adb b/gcc/ada/frontend.adb
index bd0f0c4..ece0e72 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