Values stored are never read.
p = fill_apparam(p, &count, MAXLISTCOUNT_TAG, MAXLISTCOUNT_LEN);
offset = GUINT16_TO_BE(offset);
- p = fill_apparam(p, &offset, LISTSTARTOFFSET_TAG, LISTSTARTOFFSET_LEN);
+ fill_apparam(p, &offset, LISTSTARTOFFSET_TAG, LISTSTARTOFFSET_LEN);
request = pending_request_new(pbap, message);
len = MIN(string->len, count);
memcpy(buf, string->str, len);
- string = g_string_erase(string, 0, len);
+ g_string_erase(string, 0, len);
return len;
}
len = MIN(array->len, count);
memcpy(buf, array->data, len);
- array = g_byte_array_remove_range(array, 0, len);
+ g_byte_array_remove_range(array, 0, len);
return len;
}