Skip to content

Commit d196c77

Browse files
committed
Ruby: Remove some redundant overrides
1 parent 06575ef commit d196c77

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPrivate.qll

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -379,10 +379,6 @@ private module ParameterNodes {
379379
)
380380
}
381381

382-
override predicate isParameterOf(DataFlowCallable c, ParameterPosition pos) {
383-
this.isSourceParameterOf(c.asCallable(), pos)
384-
}
385-
386382
override CfgScope getCfgScope() { result = parameter.getCallable() }
387383

388384
override Location getLocationImpl() { result = parameter.getLocation() }
@@ -407,10 +403,6 @@ private module ParameterNodes {
407403
method = c and pos.isSelf()
408404
}
409405

410-
override predicate isParameterOf(DataFlowCallable c, ParameterPosition pos) {
411-
this.isSourceParameterOf(c.asCallable(), pos)
412-
}
413-
414406
override CfgScope getCfgScope() { result = method }
415407

416408
override Location getLocationImpl() { result = method.getLocation() }
@@ -437,10 +429,6 @@ private module ParameterNodes {
437429
c = method and pos.isBlock()
438430
}
439431

440-
override predicate isParameterOf(DataFlowCallable c, ParameterPosition pos) {
441-
this.isSourceParameterOf(c.asCallable(), pos)
442-
}
443-
444432
override CfgScope getCfgScope() { result = method }
445433

446434
override Location getLocationImpl() {

0 commit comments

Comments
 (0)