mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
C#: Remove redundant cast
This commit is contained in:
@@ -509,7 +509,7 @@ class AssignableDefinition extends TAssignableDefinition {
|
||||
cfn = result.getAControlFlowNode() |
|
||||
exists(Ssa::ExplicitDefinition def |
|
||||
result = def.getAFirstReadAtNode(cfn) |
|
||||
this = def.(Ssa::ExplicitDefinition).getADefinition()
|
||||
this = def.getADefinition()
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user