utf8: don't allow NUL in decoded strings.
[ccan] / tools / ccanlint / tests / license_file_compat.c
index e7e2c8a18bc2ccb946a8ab5d7858726a74312102..e9273d2443372cab2bd04d642300788cede5515d 100644 (file)
@@ -9,12 +9,10 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <err.h>
-#include <ccan/talloc/talloc.h>
 #include <ccan/str/str.h>
-#include <ccan/str_talloc/str_talloc.h>
 
 static void check_license_file_compat(struct manifest *m,
-                                     unsigned int *timeleft,
+                                     unsigned int *timeleft UNNEEDED,
                                      struct score *score)
 {
        struct list_head *list;