mirror of
https://github.com/github/codeql.git
synced 2026-01-29 14:23:03 +01:00
simplify an redundant any() expression
This commit is contained in:
@@ -29,7 +29,7 @@ class Index extends TIndex {
|
||||
DataFlow::Node getAUse(Index i) {
|
||||
i = VariableIndex(any(DataFlow::SsaNode v | result = v.getAUse()))
|
||||
or
|
||||
i = ConstantIndex(any(int v | v = result.getIntValue()))
|
||||
i = ConstantIndex(result.getIntValue())
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user