Skip to content

Commit 4185f75

Browse files
committed
unified: Remove superfluous parens
1 parent 3e6e3be commit 4185f75

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

unified/ql/lib/codeql/unified/internal/StaticNameBinding.qll

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,9 @@ predicate storeStep(NameBindingNode node1, string name, NameBindingNode node2) {
179179
nameDecl.getDeclaration() = member and
180180
node1.isIdentifier(nameDecl) and
181181
name = nameDecl.getName() and
182-
(
183-
if isInstanceMember(member)
184-
then node2.isInstanceMemberNamespace(cls)
185-
else node2.isStaticMemberNamespace(cls)
186-
)
182+
if isInstanceMember(member)
183+
then node2.isInstanceMemberNamespace(cls)
184+
else node2.isStaticMemberNamespace(cls)
187185
)
188186
or
189187
exists(TopLevel top, Stmt stmt, NameDeclaration nameDecl |

0 commit comments

Comments
 (0)