]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/depends_exist.c
tools: simplify get_safe_ccan_deps
[ccan] / tools / ccanlint / compulsory_tests / depends_exist.c
index b6be1f94b91ddd47f50538caa862cc9d511f44ed..a90a7196e6172adabdabef1ea799baf3211b678c 100644 (file)
@@ -45,8 +45,7 @@ static void check_depends_exist(struct manifest *m,
                *strrchr(updir, '/') = '\0';
 
        if (safe_mode)
-               deps = get_safe_ccan_deps(m, m->dir, true,
-                                         &m->info_file->compiled);
+               deps = get_safe_ccan_deps(m, m->dir, true);
        else
                deps = get_deps(m, m->dir, true, &m->info_file->compiled);