From ad20bc3130ebd48a91fba48ea1288ac4fb1e3f81 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 22 Oct 2012 20:46:33 +1030 Subject: [PATCH] ccanlint: remove unused variables. Signed-off-by: Rusty Russell --- tools/ccanlint/ccanlint.c | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.39.2