| 107 | } |
| 108 | |
| 109 | static void steal_notify(tal_t *child, enum tal_notify_type n, tal_t *newparent) |
| 110 | { |
| 111 | tal_t *p = newparent; |
| 112 | |
| 113 | assert(tal_parent(child) == newparent); |
| 114 | while ((p = tal_parent(p)) != NULL) |
| 115 | assert(p != child); |
| 116 | } |
| 117 | |
| 118 | static void add_steal_notifier(tal_t *parent UNUSED, |
| 119 | enum tal_notify_type type UNNEEDED, |
nothing calls this directly
no test coverage detected