From c5c58c07239443962785b7213365cc134fdf0833 Mon Sep 17 00:00:00 2001 From: Piotr Trojanek Date: Wed, 8 Jan 2025 12:40:42 +0100 Subject: [PATCH] fix: remove redundant parentheses inside operators (#1816) GNAT already emits a style warning when redundant parentheses appear inside logical and short-circuit operators; this warning will be soon emitted for other operators as well. --- src/alire/alire-properties-scenarios.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alire/alire-properties-scenarios.adb b/src/alire/alire-properties-scenarios.adb index 28d56b2f..bacbfe35 100644 --- a/src/alire/alire-properties-scenarios.adb +++ b/src/alire/alire-properties-scenarios.adb @@ -38,7 +38,7 @@ package body Alire.Properties.Scenarios is if Val.Kind = TOML_String then if Val.As_String = "" then Props := Props and - (New_Property (GPR.Free_Variable (Key))); + New_Property (GPR.Free_Variable (Key)); else Table.Checked_Error ("free scenario variable must be given as """""); -- 2.39.5