details_tc_meta = g_hash_table_lookup(ctx->details_comp->meta, tc);
BT_ASSERT(details_tc_meta);
need_to_write =
- g_hash_table_lookup(details_tc_meta->objects, obj) == NULL;
+ !g_hash_table_lookup(details_tc_meta->objects, obj);
end:
return need_to_write;
BT_ASSERT(ctx->details_comp->meta);
details_tc_meta = g_hash_table_lookup(ctx->details_comp->meta, tc);
- need_to_write = details_tc_meta == NULL;
+ need_to_write = !details_tc_meta;
end:
return need_to_write;