1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-31 16:57:04 +00:00

ineffassign

Former-commit-id: 756ac0316a8a78fce1252ac526a504bc8ea24009
This commit is contained in:
kataras
2017-06-12 04:50:47 +03:00
parent fb85ae15d5
commit 9dfd5799fc
2 changed files with 1 additions and 2 deletions

View File

@@ -787,7 +787,6 @@ func serveFile(ctx context.Context, fs http.FileSystem, name string, redirect bo
defer ff.Close()
dd, err := ff.Stat()
if err == nil {
name = index
d = dd
f = ff
}