Skip to content

Remove redundant parentheses inside all operators#1816

Merged
mosteo merged 1 commit into
alire-project:masterfrom
ptroja:patch-1
Jan 8, 2025
Merged

Remove redundant parentheses inside all operators#1816
mosteo merged 1 commit into
alire-project:masterfrom
ptroja:patch-1

Conversation

@ptroja

@ptroja ptroja commented Jan 8, 2025

Copy link
Copy Markdown
Contributor

GNAT already emits a style warning when redundant parentheses appear inside top-level conditions. This warning will be soon emitted for other operators as well, so remove redundant parentheses to avoid build failures.

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.
@mosteo mosteo merged commit c5c58c0 into alire-project:master Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants