comparison libpurple/protocols/oscar/oscar.c @ 22396:1d3783f659c2

Fix coverity CID 382: Remove an unused variable
author Mark Doliner <mark@kingant.net>
date Mon, 03 Mar 2008 08:40:39 +0000
parents 4294c07cc06c
children 791c9545846b
comparison
equal deleted inserted replaced
22395:4294c07cc06c 22396:1d3783f659c2
4503 oscar_set_info_and_status(PurpleAccount *account, gboolean setinfo, const char *rawinfo, 4503 oscar_set_info_and_status(PurpleAccount *account, gboolean setinfo, const char *rawinfo,
4504 gboolean setstatus, PurpleStatus *status) 4504 gboolean setstatus, PurpleStatus *status)
4505 { 4505 {
4506 PurpleConnection *gc = purple_account_get_connection(account); 4506 PurpleConnection *gc = purple_account_get_connection(account);
4507 OscarData *od = gc->proto_data; 4507 OscarData *od = gc->proto_data;
4508 PurplePresence *presence;
4509 PurpleStatusType *status_type; 4508 PurpleStatusType *status_type;
4510 PurpleStatusPrimitive primitive; 4509 PurpleStatusPrimitive primitive;
4511 4510
4512 char *htmlinfo; 4511 char *htmlinfo;
4513 char *info_encoding = NULL; 4512 char *info_encoding = NULL;
4519 char *away = NULL; 4518 char *away = NULL;
4520 gsize awaylen = 0; 4519 gsize awaylen = 0;
4521 4520
4522 status_type = purple_status_get_type(status); 4521 status_type = purple_status_get_type(status);
4523 primitive = purple_status_type_get_primitive(status_type); 4522 primitive = purple_status_type_get_primitive(status_type);
4524 presence = purple_account_get_presence(account);
4525 4523
4526 if (!setinfo) 4524 if (!setinfo)
4527 { 4525 {
4528 /* Do nothing! */ 4526 /* Do nothing! */
4529 } 4527 }