From bdd1898feb0e90778605121f1e12013a0b58ce68 Mon Sep 17 00:00:00 2001 From: Piotr Trojanek Date: Wed, 8 Jan 2025 12:02:59 +0100 Subject: [PATCH] Remove redundant parentheses inside operators 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 28d56b2fe..bacbfe35f 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 """"");