tree-wide: Use g_hash_table_add() where applicable
Just noticed a few while reading some code, decided to do a quick cleanup. It's shorter and clearer. Closes: #614 Approved by: jlebon
This commit is contained in:
1 parent
247a8718bb
commit
37965644ff
4 files changed
+10
-10
No files matched your search
@@ -193,7 +193,7 @@ ostree_bootconfig_parser_write_at (OstreeBootconfigParser *self,
|
||||
else
|
||||
{
|
||||
write_key (self, buf, key, value);
|
||||
g_hash_table_insert (written_overrides, (gpointer)key, (gpointer)key);
|
||||
g_hash_table_add (written_overrides, (gpointer)key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user