Commit bca00def authored by Diego Siqueira's avatar Diego Siqueira Committed by Brad Fitzpatrick

plugin: remove unused func

Change-Id: Ife29464d581f00940af7ef9251bf99661c1350b6
GitHub-Last-Rev: d7747706584b06b619fc78a85b6b9bfe619467c8
GitHub-Pull-Request: golang/go#26740
Reviewed-on: https://go-review.googlesource.com/127195Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 02fecd33
......@@ -39,16 +39,6 @@ import (
"unsafe"
)
// avoid a dependency on strings
func lastIndexByte(s string, c byte) int {
for i := len(s) - 1; i >= 0; i-- {
if s[i] == c {
return i
}
}
return -1
}
func open(name string) (*Plugin, error) {
cPath := make([]byte, C.PATH_MAX+1)
cRelName := make([]byte, len(name)+1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment