Commit ad20bc31 authored by Rusty Russell's avatar Rusty Russell

ccanlint: remove unused variables.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 127c7534
...@@ -675,8 +675,6 @@ int main(int argc, char *argv[]) ...@@ -675,8 +675,6 @@ int main(int argc, char *argv[])
} }
for (i = 1; i < argc; i++) { for (i = 1; i < argc; i++) {
unsigned int score, total_score;
dir = argv[i]; dir = argv[i];
if (dir[0] != '/') if (dir[0] != '/')
...@@ -709,7 +707,6 @@ int main(int argc, char *argv[]) ...@@ -709,7 +707,6 @@ int main(int argc, char *argv[])
if (symlink(talloc_asprintf(m, "%s/test", dir), testlink) != 0) if (symlink(talloc_asprintf(m, "%s/test", dir), testlink) != 0)
err(1, "Creating test symlink in %s", temp_dir(NULL)); err(1, "Creating test symlink in %s", temp_dir(NULL));
score = total_score = 0;
if (!run_tests(&all, summary, m, prefix)) if (!run_tests(&all, summary, m, prefix))
pass = false; pass = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment