chore: linter: unused

Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
Jakob Borg
2025-10-23 22:48:54 +02:00
parent 655b4568c1
commit d08f483811
4 changed files with 5 additions and 69 deletions
+3 -3
View File
@@ -89,10 +89,10 @@ func (s *Service) reportData(ctx context.Context, urVersion int, preview bool) (
if err != nil {
return nil, err
}
totFiles += int(global.Files)
totFiles += global.Files
totBytes += global.Bytes
if int(global.Files) > maxFiles {
maxFiles = int(global.Files)
if global.Files > maxFiles {
maxFiles = global.Files
}
if global.Bytes > maxBytes {
maxBytes = global.Bytes