The variables i and tot don't need to be static.
This commit is contained in:
parent
080397239a
commit
ae66acac87
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160464
@ -397,14 +397,14 @@ void
|
|||||||
flush_line(LINE *l)
|
flush_line(LINE *l)
|
||||||
{
|
{
|
||||||
CHAR *c, *endc;
|
CHAR *c, *endc;
|
||||||
int j, nchars, last_col, this_col;
|
int i, j, nchars, last_col, save, this_col, tot;
|
||||||
|
|
||||||
last_col = 0;
|
last_col = 0;
|
||||||
nchars = l->l_line_len;
|
nchars = l->l_line_len;
|
||||||
|
|
||||||
if (l->l_needs_sort) {
|
if (l->l_needs_sort) {
|
||||||
static CHAR *sorted;
|
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
|
* Do an O(n) sort on l->l_line by column being careful to
|
||||||
|
Loading…
Reference in New Issue
Block a user