[Pkg-privacy-commits] [pidgin-otr] 08/21: Remove unused protocol name from otrg_gtk_dialog_socialist_millionaires

Intrigeri intrigeri at moszumanska.debian.org
Thu Mar 10 21:03:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch master
in repository pidgin-otr.

commit 01a1f3263d8531ea6bf3b3b443f216b8bb8380dd
Author: Ian Goldberg <iang at cs.uwaterloo.ca>
Date:   Sun Jan 3 17:49:43 2016 -0500

    Remove unused protocol name from otrg_gtk_dialog_socialist_millionaires
---
 gtk-dialog.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/gtk-dialog.c b/gtk-dialog.c
index b7c5408..9cf71ef 100644
--- a/gtk-dialog.c
+++ b/gtk-dialog.c
@@ -1442,8 +1442,6 @@ static void otrg_gtk_dialog_socialist_millionaires(ConnContext *context,
 	char *question, gboolean responder)
 {
     char *primary;
-    PurplePlugin *p;
-    char *proto_name;
 
     if (context == NULL) return;
 
@@ -1455,10 +1453,6 @@ static void otrg_gtk_dialog_socialist_millionaires(ConnContext *context,
 	    context->username);
     }
 
-    p = purple_find_prpl(context->protocol);
-    proto_name = (p && p->info->name) ? p->info->name : _("Unknown");
-
-
     create_smp_dialog(_("Authenticate Buddy"),
 	    primary, context, responder, question);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/pidgin-otr.git



More information about the Pkg-privacy-commits mailing list