summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/loader/interpreter.go
diff options
context:
space:
mode:
authorChristopher Koch <chrisko@google.com>2018-12-11 11:39:17 -0800
committerShentubot <shentubot@google.com>2018-12-11 11:40:16 -0800
commit5934fad1d781f13d04184c7585014a98a3b86958 (patch)
tree8586ab3269d3da4d627eb903ba2169c099309cfe /pkg/sentry/loader/interpreter.go
parent77a443269a81bc81d1d0b4ac46406745e882be88 (diff)
Remove unused envv variable from two funcs.
PiperOrigin-RevId: 225041520 Change-Id: Ib1afc693e592d308d60db82022c5b7743fd3c646
Diffstat (limited to 'pkg/sentry/loader/interpreter.go')
-rw-r--r--pkg/sentry/loader/interpreter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/loader/interpreter.go b/pkg/sentry/loader/interpreter.go
index 06a3c7156..35b83654d 100644
--- a/pkg/sentry/loader/interpreter.go
+++ b/pkg/sentry/loader/interpreter.go
@@ -37,7 +37,7 @@ const (
)
// parseInterpreterScript returns the interpreter path and argv.
-func parseInterpreterScript(ctx context.Context, filename string, f *fs.File, argv, envv []string) (newpath string, newargv []string, err error) {
+func parseInterpreterScript(ctx context.Context, filename string, f *fs.File, argv []string) (newpath string, newargv []string, err error) {
line := make([]byte, interpMaxLineLength)
n, err := readFull(ctx, f, usermem.BytesIOSequence(line), 0)
// Short read is OK.