Removed an unused parameter.
authorChris Jones <christian.jones@sri.com>
Sun, 15 Sep 2013 16:30:55 -0600
changeset 149 22c96a9ab289
parent 148 b1b4900eee5b
child 150 fa7f6ff10c67
Removed an unused parameter.
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 != "" {