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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user