diff options
author | Pekka Enberg <penberg@kernel.org> | 2012-08-15 09:27:21 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-16 11:30:06 -0700 |
commit | dbf1a014a7b038f59fbb1bea6f93b105f25ad3a0 (patch) | |
tree | abf1eb38fb003d3bd7920bfb00b258ca83a93c60 | |
parent | ddd45dbff17f4fc30c66404331f6b8f0c05cdd82 (diff) | |
download | uemacs-dbf1a014a7b038f59fbb1bea6f93b105f25ad3a0.tar.gz |
uemacs: Remove unused 'lflag' variables from file.c
GCC spotted the following unused variable:
CC file.o
file.c: In function ‘readin’:
file.c:225:6: warning: variable ‘lflag’ set but not used [-Wunused-but-set-variable]
file.c: In function ‘ifile’:
file.c:553:6: warning: variable ‘lflag’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | file.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -222,7 +222,6 @@ int readin(char *fname, int lockfl) int s; int nbytes; int nline; - int lflag; /* any lines longer than allowed? */ char mesg[NSTRING]; #if (FILOCK && BSD) || SVR4 @@ -263,7 +262,6 @@ int readin(char *fname, int lockfl) /* read the file in */ mlwrite("(Reading file)"); nline = 0; - lflag = FALSE; while ((s = ffgetline()) == FIOSUC) { nbytes = strlen(fline); if ((lp1 = lalloc(nbytes)) == NULL) { @@ -550,7 +548,6 @@ int ifile(char *fname) int s; int nbytes; int nline; - int lflag; /* any lines longer than allowed? */ char mesg[NSTRING]; bp = curbp; /* Cheap. */ @@ -576,7 +573,6 @@ int ifile(char *fname) curwp->w_marko = 0; nline = 0; - lflag = FALSE; while ((s = ffgetline()) == FIOSUC) { nbytes = strlen(fline); if ((lp1 = lalloc(nbytes)) == NULL) { |