Update nxstyle.c

This commit is contained in:
David Sidrane 2020-03-06 12:14:23 -08:00 committed by patacongo
parent ee9949a724
commit 8b1dc2825f

View File

@ -404,11 +404,11 @@ static int block_comment_width(char *line)
static int get_line_width(FILE *instream)
{
char line[LINE_SIZE]; /* The current line being examined */
int max = 0;
int min = INT_MAX;
int lineno = 0;
int lineno_max;
int lineno_min;
int max = 0;
int min = INT_MAX;
int lineno = 0;
int lineno_max = 0;
int lineno_min = 0;
int len;
while (fgets(line, LINE_SIZE, instream))