diff libpurple/protocols/oscar/oscar.c @ 15678:5ec709327dc6

Remove a few unneeded strings, per evans's recommendation
author Sean Egan <seanegan@gmail.com>
date Thu, 22 Feb 2007 20:33:51 +0000
parents 2261750cf4e9
children cad32dba756b
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Thu Feb 22 20:01:17 2007 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Thu Feb 22 20:33:51 2007 +0000
@@ -2713,7 +2713,6 @@
 static int gaim_parse_genericerr(OscarData *od, FlapConnection *conn, FlapFrame *fr, ...) {
 	va_list ap;
 	guint16 reason;
-	char *m;
 
 	va_start(ap, fr);
 	reason = (guint16) va_arg(ap, unsigned int);
@@ -2722,12 +2721,6 @@
 	gaim_debug_error("oscar",
 			   "snac threw error (reason 0x%04hx: %s)\n", reason,
 			   (reason < msgerrreasonlen) ? msgerrreason[reason] : "unknown");
-
-	m = g_strdup_printf(_("SNAC threw error: %s\n"),
-			reason < msgerrreasonlen ? _(msgerrreason[reason]) : _("Unknown error"));
-	gaim_notify_error(od->gc, NULL, m, NULL);
-	g_free(m);
-
 	return 1;
 }