From 54831741ca18f01e3f6aa2e0c1d3edb9ff287f83 Mon Sep 17 00:00:00 2001 From: David Haukeness Date: Fri, 11 Mar 2022 16:04:17 -0700 Subject: [PATCH] remove unused default case --- chat.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/chat.go b/chat.go index 93a27d2..6a704b8 100644 --- a/chat.go +++ b/chat.go @@ -143,8 +143,6 @@ func (c *ChatAPI) SendRaw(ctx context.Context, msg []byte) ([]byte, error) { } case <-ctx.Done(): return nil, ctx.Err() - default: - // still waiting, do nothing } } }