diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2018-05-05 10:05:44 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2018-05-05 10:37:21 -0700 |
commit | 4f410f3ed29fdb0f98be1e01930ba1a909a36ef0 (patch) | |
tree | fb9a79e6c75d5ac227fca05e5ab381a793e00025 | |
parent | 223b315a9148ec0091837f2e369bbb3ec5d49e11 (diff) |
Remove unused variable whitespace
Use of it was removed in commit 275c17136006f9d, but we kept setting
it anyway.
Resolves gcc 7.3 warning:
main.c: In function ‘getnextline’:
main.c:587:10: warning: variable ‘whitespace’ set but not used [-Wunused-but-set-variable]
boolean whitespace = FALSE;
^~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | main.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -584,7 +584,6 @@ char *getnextline(struct filepointer *filep) *eof, /* end of file pointer */ *bol; /* beginning of line pointer */ int lineno; /* line number */ - boolean whitespace = FALSE; /* * Fake the "-include" line files in form of #include to the @@ -614,7 +613,6 @@ char *getnextline(struct filepointer *filep) p++; bol++; } - whitespace = TRUE; } if (*p == '/' && (p+1) < eof && *(p+1) == '*') { @@ -686,7 +684,6 @@ char *getnextline(struct filepointer *filep) --p; } bol = p+1; - whitespace = FALSE; } } if (*bol != '#') |