projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
127c753
)
ccanlint: remove unused variables.
author
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 22 Oct 2012 10:16:33 +0000
(20:46 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 22 Oct 2012 10:16:33 +0000
(20:46 +1030)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/ccanlint/ccanlint.c
patch
|
blob
|
history
diff --git
a/tools/ccanlint/ccanlint.c
b/tools/ccanlint/ccanlint.c
index 4ec8bb8e8fc1cdcb9e09adccba8c5396883b83a8..d1ca7f2c2b5d4e75615bef5e47731dcbefec8749 100644
(file)
--- 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;