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

Commit b025963

Browse files
committed
Remove Read method
1 parent 6fda46b commit b025963

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ql/src/semmle/go/frameworks/stdlib/CompressGzip.qll

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ module CompressGzip {
3434
FunctionOutput outp;
3535

3636
MethodModels() {
37-
// signature: func (*Reader).Read(p []byte) (n int, err error)
38-
this.hasQualifiedName("compress/gzip", "Reader", "Read") and
39-
(inp.isReceiver() and outp.isParameter(0))
40-
or
4137
// signature: func (*Reader).Reset(r io.Reader) error
4238
this.hasQualifiedName("compress/gzip", "Reader", "Reset") and
4339
(inp.isParameter(0) and outp.isReceiver())

0 commit comments

Comments
 (0)