X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=tools%2Fccanlint%2Ftests%2Fexamples_run.c;h=8ea6a9bf515806fa58e22bbe480c96e8b4065460;hb=9a8344b2cd849a5506ca5e93bfc30665fb35acab;hp=3bdb655efcfb2fc3609392c0fef231ec8dff16d9;hpb=b87f63cb8228c8fcbf760defdcf9e4c332da7667;p=ccan diff --git a/tools/ccanlint/tests/examples_run.c b/tools/ccanlint/tests/examples_run.c index 3bdb655e..8ea6a9bf 100644 --- a/tools/ccanlint/tests/examples_run.c +++ b/tools/ccanlint/tests/examples_run.c @@ -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)++) {