comparison libpurple/protocols/yahoo/yahoo.c @ 26163:2cc85ecc27ef

initialize *pkt to NULL, remove a warning from the compiler
author Sulabh Mahajan <sulabh@soc.pidgin.im>
date Tue, 20 Jan 2009 18:08:36 +0000
parents 0a19fa42f8ce
children 1e02d4592894
comparison
equal deleted inserted replaced
26162:0a19fa42f8ce 26163:2cc85ecc27ef
4433 } 4433 }
4434 4434
4435 static int yahoo_send_im(PurpleConnection *gc, const char *who, const char *what, PurpleMessageFlags flags) 4435 static int yahoo_send_im(PurpleConnection *gc, const char *who, const char *what, PurpleMessageFlags flags)
4436 { 4436 {
4437 struct yahoo_data *yd = gc->proto_data; 4437 struct yahoo_data *yd = gc->proto_data;
4438 struct yahoo_packet *pkt; 4438 struct yahoo_packet *pkt = NULL;
4439 char *msg = yahoo_html_to_codes(what); 4439 char *msg = yahoo_html_to_codes(what);
4440 char *msg2; 4440 char *msg2;
4441 gboolean utf8 = TRUE; 4441 gboolean utf8 = TRUE;
4442 PurpleWhiteboard *wb; 4442 PurpleWhiteboard *wb;
4443 int ret = 1; 4443 int ret = 1;