summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6b20dbf)
We dropped the THREAD_ID value from the database a while back, but here
is code that's carefully computing that value and then never doing
anything with it. Delete, delete, delete.
g_ptr_array_free (parents, TRUE);
if (thread_ids->len) {
g_ptr_array_free (parents, TRUE);
if (thread_ids->len) {
char *id;
for (i = 0; i < thread_ids->len; i++) {
id = (char *) thread_ids->pdata[i];
_notmuch_message_add_thread_id (message, id);
char *id;
for (i = 0; i < thread_ids->len; i++) {
id = (char *) thread_ids->pdata[i];
_notmuch_message_add_thread_id (message, id);
- if (i == 0)
- thread_id = g_string_new (id);
- else
- g_string_append_printf (thread_id, ",%s", id);
-
- g_string_free (thread_id, TRUE);
} else {
_notmuch_message_ensure_thread_id (message);
}
} else {
_notmuch_message_ensure_thread_id (message);
}