changeset 31596:738467beb687

silc: Dead (redundant) initialization
author Paul Aurich <paul@darkrain42.org>
date Wed, 11 May 2011 04:42:07 +0000
parents f018b3be6d2c
children 4c7ebb2cf4d1
files libpurple/protocols/silc/silc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/silc/silc.c	Wed May 11 04:35:06 2011 +0000
+++ b/libpurple/protocols/silc/silc.c	Wed May 11 04:42:07 2011 +0000
@@ -1116,7 +1116,7 @@
 static void
 silcpurple_create_keypair_cb(PurpleConnection *gc, PurpleRequestFields *fields)
 {
-	SilcPurple sg = gc->proto_data;
+	SilcPurple sg;
 	PurpleRequestField *f;
 	const char *val, *pkfile = NULL, *prfile = NULL;
 	const char *pass1 = NULL, *pass2 = NULL, *un = NULL, *hn = NULL;