# HG changeset patch # User Chris Jones # Date 1379284255 21600 # Node ID 22c96a9ab28948fff60809bfe987edd81a003ef1 # Parent b1b4900eee5b0aae6e55f0bdc6c774d534ac2d40 Removed an unused parameter. diff -r b1b4900eee5b -r 22c96a9ab289 xmpp/layer3.go --- a/xmpp/layer3.go Sun Sep 15 16:18:20 2013 -0600 +++ b/xmpp/layer3.go Sun Sep 15 16:30:55 2013 -0600 @@ -119,7 +119,7 @@ } if fe.Bind != nil { - cl.bind(fe.Bind) + cl.bind() return } } @@ -144,7 +144,7 @@ } // Send a request to bind a resource. RFC 3920, section 7. -func (cl *Client) bind(bindAdv *bindIq) { +func (cl *Client) bind() { res := cl.Jid.Resource bindReq := &bindIq{} if res != "" {