utf8: don't allow NUL in decoded strings.
[ccan] / tools / ccanlint / tests / license_exists.c
index 85ff79854082a096756f037ec1b415de4ee50cdd..3482bfee7745d6913a76380e8648a18695e62d65 100644 (file)
@@ -94,7 +94,8 @@ static void handle_license_link(struct manifest *m, struct score *score)
 extern struct ccanlint license_exists;
 
 static void check_has_license(struct manifest *m,
-                             unsigned int *timeleft, struct score *score)
+                             unsigned int *timeleft UNNEEDED,
+                             struct score *score)
 {
        char buf[PATH_MAX];
        ssize_t len;