fix compilation

This commit is contained in:
chrislu 2023-01-10 00:52:05 -08:00
parent 7f49c59c14
commit 9e0d526163

View File

@ -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)