mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
delete redundant cast
This commit is contained in:
@@ -121,7 +121,7 @@ private Ruby::AstNode getSuperParent(Ruby::Super sup) {
|
||||
|
||||
private string getSuperMethodName(Ruby::Super sup) {
|
||||
exists(Ruby::Method meth |
|
||||
meth = getSuperParent(sup).getParent().(Ruby::Method) and
|
||||
meth = getSuperParent(sup).getParent() and
|
||||
result = any(Method c | toGenerated(c) = meth).getName()
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user