Explicitly set the is_dirty attribute in qof_collection_new

It is likely that the memory was zeroed anyway, but the explicitness makes it easier to read.
pull/2169/head
Stefan Koch 4 months ago
parent 9079d87307
commit a2cc9881df

@ -50,6 +50,7 @@ qof_collection_new (QofIdType type)
QofCollection *col;
col = g_new0(QofCollection, 1);
col->e_type = static_cast<QofIdType>(CACHE_INSERT (type));
col->is_dirty = FALSE;
col->hash_of_entities = guid_hash_table_new();
col->data = NULL;
return col;

Loading…
Cancel
Save