Mercurial > pidgin
diff src/status.c @ 13663:b76c6de0c3b5
[gaim-migrate @ 16065]
Kill a number of trivial UNUSED_VALUE "defects":
CID 155
CID 156
CID 157
CID 158
CID 159
CID 160
CID 161
CID 162
CID 163
CID 165
CID 166
CID 167
CID 173
CID 174
CID 177
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 19 Apr 2006 05:50:50 +0000 |
parents | f9b24d282c91 |
children | a092ea4edd4e |
line wrap: on
line diff
--- a/src/status.c Wed Apr 19 03:31:47 2006 +0000 +++ b/src/status.c Wed Apr 19 05:50:50 2006 +0000 @@ -864,14 +864,11 @@ gaim_status_set_attr_boolean(GaimStatus *status, const char *id, gboolean value) { - GaimStatusType *status_type; GaimValue *attr_value; g_return_if_fail(status != NULL); g_return_if_fail(id != NULL); - status_type = gaim_status_get_type(status); - /* Make sure this attribute exists and is the correct type. */ attr_value = gaim_status_get_attr_value(status, id); g_return_if_fail(attr_value != NULL); @@ -883,14 +880,11 @@ void gaim_status_set_attr_int(GaimStatus *status, const char *id, int value) { - GaimStatusType *status_type; GaimValue *attr_value; g_return_if_fail(status != NULL); g_return_if_fail(id != NULL); - status_type = gaim_status_get_type(status); - /* Make sure this attribute exists and is the correct type. */ attr_value = gaim_status_get_attr_value(status, id); g_return_if_fail(attr_value != NULL); @@ -903,14 +897,11 @@ gaim_status_set_attr_string(GaimStatus *status, const char *id, const char *value) { - GaimStatusType *status_type; GaimValue *attr_value; g_return_if_fail(status != NULL); g_return_if_fail(id != NULL); - status_type = gaim_status_get_type(status); - /* Make sure this attribute exists and is the correct type. */ attr_value = gaim_status_get_attr_value(status, id); /* This used to be g_return_if_fail, but it's failing a LOT, so