summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autotab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/autotab.c b/autotab.c
index 735a1ca..6ddc384 100644
--- a/autotab.c
+++ b/autotab.c
@@ -396,7 +396,7 @@ static int smatch(const char *str, const char *bag0, ...)
return match;
}
-static long compute_alignment_score(line_t *lines, int tabsize, int shiftwidth)
+static long compute_alignment_score(line_t *lines, int shiftwidth)
{
line_t *next;
long lineno0, lineno1;
@@ -690,7 +690,7 @@ static int determine_tabsize(line_t *lines)
shiftwidth = determine_shiftwidth(lines_retabbed, tabsize, 1);
- score = compute_alignment_score(lines_retabbed, tabsize, shiftwidth);
+ score = compute_alignment_score(lines_retabbed, shiftwidth);
/* Scores for common tab sizes get a boost; 8 a bit more than 4. */
switch (tabsize) {