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

Commit f7a03c0

Browse files
committed
Update main.go
1 parent 19348d2 commit f7a03c0

File tree

1 file changed

+2
-2
lines changed
  • ql/test/library-tests/semmle/go/frameworks/StdlibTaintFlow

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package main
22

33
func main() {}
4-
func sink(v interface{}) {}
4+
func sink(id int, v interface{}) {}
55

66
func link(from interface{}, into interface{}) {}
77

8-
func newSource() interface{} {
8+
func newSource(id int) interface{} {
99
return nil
1010
}

0 commit comments

Comments
 (0)