]> git.ozlabs.org Git - ccan/commit
tal: fix clang complaining we return NULL if we promised not to.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 4 Apr 2024 03:34:09 +0000 (14:04 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 24 Jun 2024 02:46:26 +0000 (12:16 +0930)
commit9524c7eb8e54697da5a366c8ad3405f75c3f4195
tree285a3fde78c182d971b3b6992c6ef459eca50135
parent01bc8f9091e2bc2b285b568cf1f9d1347a5ec8de
tal: fix clang complaining we return NULL if we promised not to.

Since really, the user is promising their alloc fn won't return NULL.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/tal/str/str.c
ccan/tal/str/str.h
ccan/tal/tal.c