Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
deps = get_deps(m, m->dir, "depends", true,
get_or_compile_info);
deps = get_deps(m, m->dir, "depends", true,
get_or_compile_info);
+ if (!deps) {
+ score->error = tal_fmt(m, "Could not extract dependencies");
+ return;
+ }
+
for (i = 0; deps[i]; i++) {
if (!strstarts(deps[i], "ccan/"))
continue;
for (i = 0; deps[i]; i++) {
if (!strstarts(deps[i], "ccan/"))
continue;
unsigned int i;
deps = get_one(ctx, dir, style, get_info);
unsigned int i;
deps = get_one(ctx, dir, style, get_info);
+ if (!deps)
+ return NULL;
for (i = 0; i < tal_count(deps)-1; i++) {
char **newdeps;
unsigned int j;
for (i = 0; i < tal_count(deps)-1; i++) {
char **newdeps;
unsigned int j;