changeset 13423:ae682fa78d7f

[gaim-migrate @ 15798] If gaim::debug is not given a type, the type was used uninitialized. CID 83. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Tue, 07 Mar 2006 02:26:13 +0000
parents b53fe4fa46b6
children d52b9874c0de
files plugins/tcl/tcl_cmds.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/tcl/tcl_cmds.c	Tue Mar 07 02:21:37 2006 +0000
+++ b/plugins/tcl/tcl_cmds.c	Tue Mar 07 02:26:13 2006 +0000
@@ -653,6 +653,7 @@
 	}
 
 	if (objc == 4) {
+		type = 1;			/* Default to warning */
 		title = Tcl_GetString(objv[1]);
 		msg1 = Tcl_GetString(objv[2]);
 		msg2 = Tcl_GetString(objv[3]);