From 4840fd895328da757bd67b6be212f86cae8f93eb Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 14 Oct 2019 02:04:51 +0200 Subject: [PATCH] pkg/mount: SA4011: ineffective break statement (staticcheck) ``` pkg/mount/mountinfo_linux.go:93:5: SA4011: ineffective break statement. Did you mean to break out of the outer loop? (staticcheck) break ^ ``` Signed-off-by: Sebastiaan van Stijn --- pkg/mount/mountinfo_linux.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/mount/mountinfo_linux.go b/pkg/mount/mountinfo_linux.go index fe6e3ddba1..58ca61f3f7 100644 --- a/pkg/mount/mountinfo_linux.go +++ b/pkg/mount/mountinfo_linux.go @@ -90,7 +90,6 @@ func parseInfoFile(r io.Reader, filter FilterFunc) ([]*Info, error) { mount propagation flags in fields[6]. The correct behavior is to ignore any unknown optional fields. */ - break } } if i == numFields {