mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
repo: remove now-incorrect comment
This commit is contained in:
parent
f26e0013a5
commit
4364598449
@ -13,7 +13,6 @@ use ObjectName;
|
||||
|
||||
unsafe extern "C" fn read_variant_table(_key: glib_ffi::gpointer, value: glib_ffi::gpointer, hash_set: glib_ffi::gpointer) {
|
||||
let value: glib::Variant = from_glib_none(value as *const glib_ffi::GVariant);
|
||||
// TODO: this set is degenerate because g_variant_hash for my Variants is always 0
|
||||
let set: &mut HashSet<ObjectName> = &mut *(hash_set as *mut HashSet<ObjectName>);
|
||||
set.insert(ObjectName::new(value));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user