diff --git a/xmpp.go b/xmpp.go index 0fc7b70..623e8da 100644 --- a/xmpp.go +++ b/xmpp.go @@ -554,7 +554,6 @@ func (c *Client) Recv() (stanza interface{}, err error) { return Presence{v.From, v.To, v.Type, v.Show}, nil } } - panic("unreachable") } // Send sends the message wrapped inside an XMPP message stanza body. @@ -726,7 +725,6 @@ func nextStart(p *xml.Decoder) (xml.StartElement, error) { return t, nil } } - panic("unreachable") } // Scan XML token stream for next element and save into val.