Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f09e10f

Browse files
committed
delete redundant cast
1 parent 9ef4f12 commit f09e10f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • ruby/ql/lib/codeql/ruby/ast/internal

ruby/ql/lib/codeql/ruby/ast/internal/Call.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ private Ruby::AstNode getSuperParent(Ruby::Super sup) {
121121

122122
private string getSuperMethodName(Ruby::Super sup) {
123123
exists(Ruby::Method meth |
124-
meth = getSuperParent(sup).getParent().(Ruby::Method) and
124+
meth = getSuperParent(sup).getParent() and
125125
result = any(Method c | toGenerated(c) = meth).getName()
126126
)
127127
}

0 commit comments

Comments
 (0)