Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f85175 commit 36d0903Copy full SHA for 36d0903
1 file changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/ssa0/SsaInternals.qll
@@ -61,10 +61,7 @@ abstract private class DefOrUseImpl extends TDefOrUseImpl {
61
62
/** Gets the variable that is defined or used. */
63
final SourceVariable getSourceVariable() {
64
- exists(BaseSourceVariable v |
65
- result.getBaseVariable() = v and
66
- this.getBaseSourceVariable() = v
67
- )
+ result.getBaseVariable() = this.getBaseSourceVariable()
68
}
69
70
0 commit comments