MCPcopy Create free account
hub / github.com/ElementsProject/lightning / remove_undefined

Function remove_undefined

ccan/ccan/cdump/cdump.c:627–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625}
626
627static void remove_undefined(cdump_map_t *map)
628{
629 cdump_map_t undefs;
630
631 /* We can't delete inside iterator, so gather all the undefs
632 * then remove them. */
633 strmap_init(&undefs);
634
635 strmap_iterate(map, gather_undefines, &undefs);
636 strmap_iterate(&undefs, remove_from_map, map);
637 strmap_clear(&undefs);
638}
639
640static void destroy_definitions(struct cdump_definitions *defs)
641{

Callers 1

cdump_extractFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected