diff options
author | Moritz Poldrack <git@moritz.sh> | 2022-03-18 09:53:03 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-03-18 13:33:21 +0100 |
commit | 22d65d5759ccb612456183ff28fe185bc495eac2 (patch) | |
tree | 6806b314bbd023de495c425b051e46742173b73b | |
parent | e30bd324a3552fae3089110d39b61ddced66ddee (diff) | |
download | aerc-22d65d5759ccb612456183ff28fe185bc495eac2.tar.gz |
go vet: unreachable code
This commit fixes all occurrences of the abovementioned lint-error in
the codebase.
Signed-off-by: Moritz Poldrack <git@moritz.sh>
Acked-by: Robin Jarry <robin@jarry.cc>
-rw-r--r-- | lib/threadbuilder.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/threadbuilder.go b/lib/threadbuilder.go index 9607f1cc..8ffb7c1f 100644 --- a/lib/threadbuilder.go +++ b/lib/threadbuilder.go @@ -206,11 +206,6 @@ func (t *threadable) MessageThreadReferences() []string { func (t *threadable) Subject() string { // deactivate threading by subject for now return "" - - if t.IsDummy() || t.MsgInfo == nil || t.MsgInfo.Envelope == nil { - return "" - } - return t.MsgInfo.Envelope.Subject } func (t *threadable) SimplifiedSubject() string { |