Skip to content

Commit

Permalink
imapmemserver: remove unused return value in message.store
Browse files Browse the repository at this point in the history
  • Loading branch information
emersion committed Apr 3, 2023
1 parent 5880b84 commit 63b29fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions imapserver/imapmemserver/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func (msg *message) flagList() []imap.Flag {
return flags
}

func (msg *message) store(store *imap.StoreFlags) error {
func (msg *message) store(store *imap.StoreFlags) {
switch store.Op {
case imap.StoreFlagsSet:
msg.flags = make(map[imap.Flag]struct{})
Expand All @@ -246,7 +246,6 @@ func (msg *message) store(store *imap.StoreFlags) error {
default:
panic(fmt.Errorf("unknown STORE flag operation: %v", store.Op))
}
return nil
}

func (msg *message) search(seqNum uint32, criteria *imap.SearchCriteria) bool {
Expand Down

0 comments on commit 63b29fb

Please sign in to comment.