Skip to content

Commit 934811d

Browse files
author
Nikita Kraiouchkine
committed
EXP43-C: remove redundant check
1 parent 68b3f39 commit 934811d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

c/cert/src/rules/EXP43-C/RestrictPointerReferencesOverlappingObject.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ where
6868
)
6969
or
7070
// Two restrict-qualified pointers in the same scope assigned to each other
71-
expr.getVariable().getType().hasSpecifier("restrict") and
7271
expr.(VariableAccess).getTarget().getType().hasSpecifier("restrict") and
7372
expr.(VariableAccess).getTarget().getParentScope() = expr.getVariable().getParentScope()
7473
)

0 commit comments

Comments
 (0)