FIXME: check success
| 25 | |
| 26 | // FIXME: check success |
| 27 | void disabledmap_reset(struct disabledmap *p) |
| 28 | { |
| 29 | /* This will remove and free every element in the maps. */ |
| 30 | p->warned_ctx = tal_free(p->warned_ctx); |
| 31 | p->disabled_ctx = tal_free(p->disabled_ctx); |
| 32 | |
| 33 | tal_resize(&p->disabled_nodes, 0); |
| 34 | |
| 35 | p->disabled_ctx = tal(p, tal_t); |
| 36 | p->warned_ctx = tal(p, tal_t); |
| 37 | } |
| 38 | |
| 39 | static void remove_scidd(struct short_channel_id_dir *scidd, |
| 40 | struct scidd_map *map) |
no test coverage detected