Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dundee committed Apr 30, 2024
1 parent 7aca226 commit 64a8e17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/analyze/stored.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ func (p *ParentDir) GetFiles() fs.Files { panic("m
func (p *ParentDir) GetFilesLocked() fs.Files { panic("must not be called") }
func (p *ParentDir) RLock() func() { panic("must not be called") }
func (p *ParentDir) SetFiles(fs.Files) { panic("must not be called") }
func (f *ParentDir) RemoveFile(item fs.Item) { panic("must not be called") }
func (p *ParentDir) RemoveFile(item fs.Item) { panic("must not be called") }
func (p *ParentDir) GetItemStats(
linkedItems fs.HardLinkedItems,
) (int, int64, int64) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/analyze/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func (s *WaitGroup) Init() *WaitGroup {
// Add increments value
func (s *WaitGroup) Add(value int) {
s.access.Lock()
s.value = s.value + value
s.value += value
s.access.Unlock()
}

Expand Down

0 comments on commit 64a8e17

Please sign in to comment.