diff options
-rw-r--r-- | autotab.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |