Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 5e7b279

Browse files
committed
Remove model for a method that satisfies an interface that already has its own model.
1 parent 3fd6f9c commit 5e7b279

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ql/src/semmle/go/frameworks/SQL.qll

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ module SQL {
2626
FunctionOutput outp;
2727

2828
SqlMethodModels() {
29-
// signature: func (*NullString).Scan(value interface{}) error
30-
this.hasQualifiedName("database/sql", "NullString", "Scan") and
31-
(inp.isParameter(0) and outp.isReceiver())
32-
or
3329
// signature: func (*Row).Scan(dest ...interface{}) error
3430
this.hasQualifiedName("database/sql", "Row", "Scan") and
3531
(inp.isReceiver() and outp.isParameter(_))

0 commit comments

Comments
 (0)