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:
parent
9f2d0f0dbc
commit
7e21abe7d1
1 changed files with 1 additions and 2 deletions
3
data.go
3
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:
|
||||
|
|
Loading…
Reference in a new issue