The variables i and tot don't need to be static.

This commit is contained in:
Stefan Farfeleder 2006-07-18 07:16:25 +00:00
parent 080397239a
commit ae66acac87
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160464

View File

@ -397,14 +397,14 @@ void
flush_line(LINE *l)
{
CHAR *c, *endc;
int j, nchars, last_col, this_col;
int i, j, nchars, last_col, save, this_col, tot;
last_col = 0;
nchars = l->l_line_len;
if (l->l_needs_sort) {
static CHAR *sorted;
static int count_size, *count, i, save, sorted_size, tot;
static int count_size, *count, sorted_size;
/*
* Do an O(n) sort on l->l_line by column being careful to