From 7e21abe7d109f3e963b166b449f94f08386150e0 Mon Sep 17 00:00:00 2001 From: Will Norris Date: Wed, 9 Sep 2020 22:36:58 -0700 Subject: [PATCH] remove ineffective break statement --- data.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data.go b/data.go index 424f4ac..83c8e5e 100644 --- a/data.go +++ b/data.go @@ -249,8 +249,7 @@ func ParseOptions(str string) Options { for _, opt := range strings.Split(str, ",") { switch { - case len(opt) == 0: - break + case len(opt) == 0: // do nothing case opt == optFit: options.Fit = true case opt == optFlipVertical: