mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Remove unused predicate
This commit is contained in:
@@ -450,13 +450,6 @@ class SwitchCase extends Stmt, @case {
|
||||
result = this.getSwitch().getExpr() or result = this.getSwitchExpr().getExpr()
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the `i`th case in this case's switch block.
|
||||
*/
|
||||
SwitchCase getSiblingCase(int i) {
|
||||
result = this.getSwitch().getCase(i) or result = this.getSwitchExpr().getCase(i)
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets this case's ordinal in its switch block.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user