[Pkg-privacy-commits] [irssi-plugin-otr] 114/267: Remove unsused code

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:41:34 UTC 2015


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

infinity0 pushed a commit to branch debian
in repository irssi-plugin-otr.

commit 9e018aa7f9ce86ee9ca85fbd270eeebef405e792
Author: David Goulet <dgoulet at ev0ke.net>
Date:   Tue Nov 6 17:41:46 2012 -0500

    Remove unsused code
    
    Signed-off-by: David Goulet <dgoulet at ev0ke.net>
---
 src/otr-ops.c | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/src/otr-ops.c b/src/otr-ops.c
index 4178b69..25390c8 100644
--- a/src/otr-ops.c
+++ b/src/otr-ops.c
@@ -21,25 +21,6 @@
 
 #include "key.h"
 
-static const char *otr_msg_event_txt[] = {
-	"NONE",
-	"ENCRYPTION_REQUIRED",
-	"ENCRYPTION_ERROR",
-	"CONNECTION_ENDED",
-	"SETUP_ERROR",
-	"MSG_REFLECTED",
-	"MSG_RESENT",
-	"RCVDMSG_NOT_IN_PRIVATE",
-	"RCVDMSG_UNREADABLE",
-	"RCVDMSG_MALFORMED",
-	"LOG_HEARTBEAT_RCVD",
-	"LOG_HEARTBEAT_SENT",
-	"RCVDMSG_GENERAL_ERR",
-	"RCVDMSG_UNENCRYPTED",
-	"RCVDMSG_UNRECOGNIZED",
-	"RCVDMSG_FOR_OTHER_INSTANCE"
-};
-
 OtrlPolicy IO_DEFAULT_OTR_POLICY =
 	OTRL_POLICY_MANUAL | OTRL_POLICY_WHITESPACE_START_AKE;
 
@@ -300,9 +281,6 @@ static void ops_handle_msg_event(void *opdata, OtrlMessageEvent msg_event,
 				"a different instance.", username);
 		break;
 	}
-
-	otr_debug(server, username, TXT_OPS_HANDLE_MSG,
-			otr_msg_event_txt[msg_event], message);
 }
 
 /*

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



More information about the Pkg-privacy-commits mailing list