mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-05-18 16:25:14 +02: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, ",") {
|
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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue