soc.2008.yahoo: dacbf5de: initialize *pkt to NULL, remove a warnin...

sulabh at soc.pidgin.im sulabh at soc.pidgin.im
Tue Jan 20 13:12:28 EST 2009


-----------------------------------------------------------------
Revision: dacbf5de76b303dbd8d283fdfc9305881c957105
Ancestor: 127f66e4186ace4837fe546b5ba7ad97979e33a9
Author: sulabh at soc.pidgin.im
Date: 2009-01-20T18:08:36
Branch: im.pidgin.soc.2008.yahoo
URL: http://d.pidgin.im/viewmtn/revision/info/dacbf5de76b303dbd8d283fdfc9305881c957105

Modified files:
        libpurple/protocols/yahoo/yahoo.c

ChangeLog: 

initialize *pkt to NULL, remove a warning from the compiler 

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c	2b19d6e4a93176cfb4d46554ffe77806d38cffe9
+++ libpurple/protocols/yahoo/yahoo.c	da2def08224a12405b1937adf64c7823afbe7e68
@@ -4435,7 +4435,7 @@ static int yahoo_send_im(PurpleConnectio
 static int yahoo_send_im(PurpleConnection *gc, const char *who, const char *what, PurpleMessageFlags flags)
 {
 	struct yahoo_data *yd = gc->proto_data;
-	struct yahoo_packet *pkt;
+	struct yahoo_packet *pkt = NULL;
 	char *msg = yahoo_html_to_codes(what);
 	char *msg2;
 	gboolean utf8 = TRUE;


More information about the Commits mailing list