aboutsummaryrefslogtreecommitdiffstats
path: root/worker
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2022-07-29 21:12:26 +0200
committerRobin Jarry <robin@jarry.cc>2022-08-04 21:57:45 +0200
commit77a00de741d8fb791bf1e9aab34ff9940385e31a (patch)
treeed673de1eedfa8fee3ab40e5c6e2aae583550030 /worker
parentea2ac83a4db8d531de7edf550b0adc404936e18d (diff)
downloadaerc-77a00de741d8fb791bf1e9aab34ff9940385e31a.tar.gz
lint: remove redundant returns (S1023)
Signed-off-by: Moritz Poldrack <moritz@poldrack.dev> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker')
-rw-r--r--worker/imap/connect.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/worker/imap/connect.go b/worker/imap/connect.go
index 35fd9b11..7c43b561 100644
--- a/worker/imap/connect.go
+++ b/worker/imap/connect.go
@@ -119,7 +119,6 @@ func newTCPConn(addr string, timeout time.Duration) (*net.TCPConn, error) {
}
done <- tcpConn{newConn, nil}
- return
}()
select {