Get rid of annoying init error in read_file

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1238 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Chris Allegretta 2002-07-21 15:46:48 +00:00
parent c4e3d9ed01
commit 87104114bd
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ filestruct *read_line(char *buf, filestruct *prev, int *line1ins, int len)
int read_file(FILE *f, const char *filename, int quiet)
{
int num_lines = 0, len = 0;
char input; /* current input character */
char input = 0; /* current input character */
char *buf;
long i = 0, bufx = 128;
filestruct *fileptr = current, *tmp = NULL;