0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-30 22:34:18 -05:00

remove ineffective break statement

This commit is contained in:
Will Norris 2020-09-09 22:36:58 -07:00
parent 9f2d0f0dbc
commit 7e21abe7d1

View file

@ -249,8 +249,7 @@ func ParseOptions(str string) Options {
for _, opt := range strings.Split(str, ",") { for _, opt := range strings.Split(str, ",") {
switch { switch {
case len(opt) == 0: case len(opt) == 0: // do nothing
break
case opt == optFit: case opt == optFit:
options.Fit = true options.Fit = true
case opt == optFlipVertical: case opt == optFlipVertical: