utf8: don't allow NUL in decoded strings.
[ccan] / tools / ccanlint / tests / license_comment.c
index abe0204e9c32c2ea9aa7d0142d243d4585a57ee9..ef865a4d6f74fdaa51fe277dae1324e791b3513b 100644 (file)
@@ -36,7 +36,8 @@ static bool line_has_license_flavour(const char *line, const char *shortname)
 }
 
 static void check_license_comment(struct manifest *m,
-                                 unsigned int *timeleft, struct score *score)
+                                 unsigned int *timeleft UNNEEDED,
+                                 struct score *score)
 {
        struct list_head *list;