]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/examples_run.c
io/fdpass: add flag to close fd after sending.
[ccan] / tools / ccanlint / tests / examples_run.c
index 3bdb655efcfb2fc3609392c0fef231ec8dff16d9..6c746b64a3722f362b6908f59abd4f39f1c5a5a5 100644 (file)
@@ -86,7 +86,7 @@ static char *find_expect(struct ccan_file *file,
                         bool *contains, bool *whitespace, bool *error,
                         unsigned *line)
 {
-       char *rest, *expect;
+       char *expect;
 
        *error = false;
        for (; lines[*line]; (*line)++) {
@@ -188,7 +188,7 @@ static char *unexpected(struct ccan_file *i, const char *input,
 }
 
 static void run_examples(struct manifest *m,
-                        unsigned int *timeleft, struct score *score)
+                        unsigned int *timeleft UNNEEDED, struct score *score)
 {
        struct ccan_file *i;
        struct list_head *list;