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.
This commit is contained in:
Stefan Koch committed 2026-01-15 08:52:50 -05:00
1 parent 9079d87307
commit a2cc9881df
1 file changed
+1
+1
View File
@@ -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;