utf8: don't allow NUL in decoded strings.
[ccan] / tools / ccanlint / tests / info_ported.c
index 3479cfc417291781c81b47d22f0770f87e7957b0..80e347c73343df3983a4513a4fe1b73b56ed59b4 100644 (file)
@@ -27,8 +27,9 @@ static const char *can_build(struct manifest *m)
        return tal_fmt(m, "'_info ported' says '%s'", msg);
 }
 
-static void check_info_ported(struct manifest *m,
-                             unsigned int *timeleft, struct score *score)
+static void check_info_ported(struct manifest *m UNNEEDED,
+                             unsigned int *timeleft UNNEEDED,
+                             struct score *score)
 {
        score->pass = true;
        score->score = 1;