diff options
Diffstat (limited to 'worker/notmuch/eventhandlers.go')
-rw-r--r-- | worker/notmuch/eventhandlers.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/worker/notmuch/eventhandlers.go b/worker/notmuch/eventhandlers.go index 7cd9c6fc..2b03d68b 100644 --- a/worker/notmuch/eventhandlers.go +++ b/worker/notmuch/eventhandlers.go @@ -12,15 +12,15 @@ import ( ) func (w *worker) handleNotmuchEvent(et eventType) error { - switch ev := et.(type) { + switch et.(type) { case *updateDirCounts: - return w.handleUpdateDirCounts(ev) + return w.handleUpdateDirCounts() default: return errUnsupported } } -func (w *worker) handleUpdateDirCounts(ev eventType) error { +func (w *worker) handleUpdateDirCounts() error { if w.store != nil { folders, err := w.store.FolderMap() if err != nil { |