changeset 19731:97559afd70e4

Silence the warning that body_len might be used uninitialized in msn_message_gen_payload().
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 11 Sep 2007 13:48:19 +0000
parents 46ed3f3f780e
children 7a478b174ac9 2ebde8bd0e58
files libpurple/protocols/msn/msg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c	Tue Sep 11 07:13:05 2007 +0000
+++ b/libpurple/protocols/msn/msg.c	Tue Sep 11 13:48:19 2007 +0000
@@ -400,7 +400,7 @@
 	GList *l;
 	char *n, *base, *end;
 	int len;
-	size_t body_len;
+	size_t body_len = 0;
 	const void *body;
 
 	g_return_val_if_fail(msg != NULL, NULL);