summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSulabh Mahajan <sulabh@pidgin.im>2009-01-20 18:08:36 +0000
committerSulabh Mahajan <sulabh@pidgin.im>2009-01-20 18:08:36 +0000
commit038d45b3a8c2dbc763f7a9e922e30aa620a7a80a (patch)
tree9f1d517e441a6475caa0c6b62457c6517d535b86
parent1284a88b574fc2c274e9f7f8bd98325039866776 (diff)
downloadpidgin-038d45b3a8c2dbc763f7a9e922e30aa620a7a80a.tar.gz
initialize *pkt to NULL, remove a warning from the compiler
-rw-r--r--libpurple/protocols/yahoo/yahoo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpurple/protocols/yahoo/yahoo.c b/libpurple/protocols/yahoo/yahoo.c
index 4390fd1b3c..9a2ac6d267 100644
--- a/libpurple/protocols/yahoo/yahoo.c
+++ b/libpurple/protocols/yahoo/yahoo.c
@@ -4435,7 +4435,7 @@ static void yahoo_get_sms_carrier(PurpleConnection *gc, gpointer data)
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;