Remove a declared variable that isn't used. So the library will compile again.

This commit is contained in:
Gabriel Guzman 2014-09-16 18:17:55 -04:00 committed by mattn
parent 15989a19c3
commit 748282a14a

View File

@ -249,7 +249,6 @@ func (c *Client) init(o *Options) error {
if len(a) != 2 { if len(a) != 2 {
return errors.New("xmpp: invalid username (want user@domain): " + o.User) return errors.New("xmpp: invalid username (want user@domain): " + o.User)
} }
user := a[0]
domain := a[1] domain := a[1]
// Declare intent to be a jabber client. // Declare intent to be a jabber client.