Commit 87104114 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

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
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -164,7 +164,7 @@ filestruct *read_line(char *buf, filestruct *prev, int *line1ins, int len) ...@@ -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 read_file(FILE *f, const char *filename, int quiet)
{ {
int num_lines = 0, len = 0; int num_lines = 0, len = 0;
char input; /* current input character */ char input = 0; /* current input character */
char *buf; char *buf;
long i = 0, bufx = 128; long i = 0, bufx = 128;
filestruct *fileptr = current, *tmp = NULL; filestruct *fileptr = current, *tmp = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment