From 9e0d5261633617bfea20d8f7df01598bf91bc0b2 Mon Sep 17 00:00:00 2001 From: chrislu Date: Tue, 10 Jan 2023 00:52:05 -0800 Subject: [PATCH] fix compilation --- weed/filer/filechunk_section.go | 1 - 1 file changed, 1 deletion(-) diff --git a/weed/filer/filechunk_section.go b/weed/filer/filechunk_section.go index c3c5f6510..350cc44d1 100644 --- a/weed/filer/filechunk_section.go +++ b/weed/filer/filechunk_section.go @@ -46,7 +46,6 @@ func (section *FileChunkSection) addChunk(chunk *filer_pb.FileChunk) error { } func removeGarbageChunks(section *FileChunkSection, garbageFileIds map[string]struct{}) { - now := time.Now() for i := 0; i < len(section.chunks); { t := section.chunks[i] length := len(section.chunks)