utf8: don't allow NUL in decoded strings.
[ccan] / tools / ccanlint / tests / objects_build.c
index d0bd7365dc7c52024975626c0e950a2a6e1d8e87..58f364373a5f63b5624cd0a55bf39d65bbcd931c 100644 (file)
@@ -15,7 +15,7 @@
 #include <ctype.h>
 #include "build.h"
 
-static const char *can_build(struct manifest *m)
+static const char *can_build(struct manifest *m UNNEEDED)
 {
        if (safe_mode)
                return "Safe mode enabled";
@@ -74,7 +74,8 @@ void build_objects(struct manifest *m,
 }
 
 static void check_objs_build(struct manifest *m,
-                            unsigned int *timeleft, struct score *score)
+                            unsigned int *timeleft UNNEEDED,
+                            struct score *score)
 {
        const char *flags;