From 22d65d5759ccb612456183ff28fe185bc495eac2 Mon Sep 17 00:00:00 2001 From: Moritz Poldrack Date: Fri, 18 Mar 2022 09:53:03 +0100 Subject: [PATCH] go vet: unreachable code This commit fixes all occurrences of the abovementioned lint-error in the codebase. Signed-off-by: Moritz Poldrack Acked-by: Robin Jarry --- lib/threadbuilder.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/threadbuilder.go b/lib/threadbuilder.go index 9607f1c..8ffb7c1 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 {