changeset 7156:bb484e976aa8

[gaim-migrate @ 7723] warnings are bad. plugins that don't load are even worse. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 05 Oct 2003 05:04:55 +0000
parents 6448e0163d7b
children fae7cfe975fd
files plugins/tcl/tcl_cmds.c src/protocols/irc/irc.c
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/tcl/tcl_cmds.c	Sun Oct 05 05:03:38 2003 +0000
+++ b/plugins/tcl/tcl_cmds.c	Sun Oct 05 05:04:55 2003 +0000
@@ -148,7 +148,7 @@
 			Tcl_WrongNumArgs(interp, 2, objv, "username protocol");
 			return TCL_ERROR;
 		}
-		Tcl_SetIntObj(result, (int)gaim_accounts_find_with_prpl_id(Tcl_GetString(objv[2]),
+		Tcl_SetIntObj(result, (int)gaim_accounts_find(Tcl_GetString(objv[2]),
 									   Tcl_GetString(objv[3])));
 		break;
 	case CMD_ACCOUNT_HANDLE:
@@ -467,7 +467,7 @@
 	GaimConversationType type;
 	GList *cur;
 	char *opt, *from, *what;
-	int error, argsused, flags;
+	int error, argsused, flags = 0;
 
 	if (objc < 2) {
 		Tcl_WrongNumArgs(interp, 1, objv, "subcommand ?args?");
--- a/src/protocols/irc/irc.c	Sun Oct 05 05:03:38 2003 +0000
+++ b/src/protocols/irc/irc.c	Sun Oct 05 05:04:55 2003 +0000
@@ -130,7 +130,6 @@
 
 static GList *irc_actions(GaimConnection *gc)
 {
-	struct irc_conn *irc = gc->proto_data;
 	struct proto_actions_menu *pam;
 	GList *list = NULL;