Browse Source

remove unused default case

main
David Haukeness 2 years ago
parent
commit
54831741ca
  1. 2
      chat.go

2
chat.go

@ -143,8 +143,6 @@ func (c *ChatAPI) SendRaw(ctx context.Context, msg []byte) ([]byte, error) { @@ -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
}
}
}

Loading…
Cancel
Save