From: Rusty Russell Date: Mon, 22 Oct 2012 10:16:33 +0000 (+1030) Subject: ccanlint: remove unused variables. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=ad20bc3130ebd48a91fba48ea1288ac4fb1e3f81 ccanlint: remove unused variables. Signed-off-by: Rusty Russell --- diff --git a/tools/ccanlint/ccanlint.c b/tools/ccanlint/ccanlint.c index 4ec8bb8e..d1ca7f2c 100644 --- a/tools/ccanlint/ccanlint.c +++ b/tools/ccanlint/ccanlint.c @@ -675,8 +675,6 @@ int main(int argc, char *argv[]) } for (i = 1; i < argc; i++) { - unsigned int score, total_score; - dir = argv[i]; if (dir[0] != '/') @@ -709,7 +707,6 @@ int main(int argc, char *argv[]) if (symlink(talloc_asprintf(m, "%s/test", dir), testlink) != 0) err(1, "Creating test symlink in %s", temp_dir(NULL)); - score = total_score = 0; if (!run_tests(&all, summary, m, prefix)) pass = false;