From: Ronan Desplanques Date: Tue, 2 Apr 2024 16:27:39 +0000 (+0200) Subject: ada: Remove duplicate statement X-Git-Tag: basepoints/gcc-16~8822 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=417b6bd4783665cb3dae1569ece57e4a033cafef;p=thirdparty%2Fgcc.git 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 --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