diff libpurple/protocols/silc/silc.c @ 32410:f07501af8bae

Remove dead assignments found with clang-analyzer. Also, remove the unused variables resulting from this cleanup. Added a FIXME in cases where variables are not read, but should be used later.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 22 Dec 2011 08:39:45 +0000
parents 3e7a7e14af62
children
line wrap: on
line diff
--- a/libpurple/protocols/silc/silc.c	Thu Dec 22 07:55:41 2011 +0000
+++ b/libpurple/protocols/silc/silc.c	Thu Dec 22 08:39:45 2011 +0000
@@ -400,7 +400,7 @@
 	}
 
 	/* Perform SILC Key Exchange. */
-	silc_client_key_exchange(sg->client, &params, sg->public_key,
+	silc_client_key_exchange(client, &params, sg->public_key,
 				 sg->private_key, stream, SILC_CONN_SERVER,
 				 silcpurple_connect_cb, gc);