changeset 11810:42b5b3015d9e

[gaim-migrate @ 14101] Why does Peter get messages about unintialized variables and I don't? We're using the same version of gcc, both on FC4, and are CFLAGS are very similar. He's using make -s and I redirect stdout to /dev/null committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 25 Oct 2005 05:34:13 +0000
parents 53da46e79de1
children 924c6ba240e6
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Tue Oct 25 05:19:59 2005 +0000
+++ b/src/protocols/oscar/oscar.c	Tue Oct 25 05:34:13 2005 +0000
@@ -5831,6 +5831,8 @@
 	status = gaim_account_get_active_status(account);
 	if (gaim_status_is_available(status))
 		message = gaim_status_get_attr_string(status, "message");
+	else
+		message = NULL;
 	aim_srv_setavailmsg(sess, message);
 
 	aim_srv_setidle(sess, 0);