mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Remove model for a method that satisfies an interface that already has its own model.
This commit is contained in:
@@ -26,10 +26,6 @@ module SQL {
|
||||
FunctionOutput outp;
|
||||
|
||||
SqlMethodModels() {
|
||||
// signature: func (*NullString).Scan(value interface{}) error
|
||||
this.hasQualifiedName("database/sql", "NullString", "Scan") and
|
||||
(inp.isParameter(0) and outp.isReceiver())
|
||||
or
|
||||
// signature: func (*Row).Scan(dest ...interface{}) error
|
||||
this.hasQualifiedName("database/sql", "Row", "Scan") and
|
||||
(inp.isReceiver() and outp.isParameter(_))
|
||||
|
||||
Reference in New Issue
Block a user