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

Function noop_allocfail

ccan/ccan/take/test/run-allocfail-cleanup.c:18–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#include <ccan/tap/tap.h>
17
18static void noop_allocfail(const void *p UNNEEDED)
19{
20}
21
22/* Regression test: take_cleanup() is documented to "remove all taken
23 * pointers from list", but it leaves the allocfail counter behind, so a

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected