From c2cbf597935a5468afdcc58bc0967b681b0af148 Mon Sep 17 00:00:00 2001 From: nxshock Date: Wed, 10 Jul 2024 16:16:02 +0500 Subject: [PATCH] Remove unused code --- walker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/walker.go b/walker.go index d6695c7..768d724 100644 --- a/walker.go +++ b/walker.go @@ -11,7 +11,7 @@ import ( func removeOldFilesThread(path string, olderThan time.Duration) { ticker := time.NewTicker(time.Hour) - for _ = range ticker.C { + for range ticker.C { log.Debugln("Removing old files...") err := removeOldFiles(path, olderThan) if err != nil {