From 87104114bd97a4ac80cb7e86b812fad90f61bd5b Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Sun, 21 Jul 2002 15:46:48 +0000 Subject: [PATCH] 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 --- files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files.c b/files.c index 6e65d811..cf476976 100644 --- a/files.c +++ b/files.c @@ -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; -- 2.39.5