fix unused parameter lint warnings

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2022-07-19 23:28:33 +02:00
parent d5946da1e2
commit 7f5a13d185
34 changed files with 59 additions and 58 deletions

View File

@@ -377,7 +377,7 @@ func (fs *httpFsImpl) dirsize(w http.ResponseWriter, r *http.Request) {
numFiles := 0
size := int64(0)
if info.IsDir() {
err = filepath.Walk(fsPath, func(path string, info os.FileInfo, err error) error {
err = filepath.Walk(fsPath, func(_ string, info os.FileInfo, err error) error {
if err != nil {
return err
}