[[Property:title|CA023 - Unneeded parentheses]]
[[Property:link_title|CA023]]
[[Property:weight|0]]
[[Property:uuid|9af7b35f-7e74-2bd1-8680-b59ab81d6791]]
__NOTOC__
=Description=
Parentheses that are not needed should be removed. This helps enforcing a consistent coding style
:{| class="doctable"
|-
| '''Scope'''
| Instruction
|-
| '''Status'''
| Enabled
|-
| '''Severity'''
| Suggestion
|-
| '''Applicability'''
| All
|-
| '''Score'''
|  30
|}


=Example of violation=
<e>if (z > 3) then
	z := (z - 5)
end
</e>

=Recommendation=
Remove the parenthesis that are not needed.

In the example, it simply becomes:
<e>if z > 3 then
	z := z - 5
end
</e>



