diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2022-10-28 04:00:00 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2022-10-29 11:57:20 +0200 |
commit | 8df721df25864f89772c58a4486314855bf1a37e (patch) | |
tree | 7c89253922a8f09b964876b438056e2655cc9062 /src/hyper/parse-aux.c | |
parent | 467b6fb9eeb12d064c1f6fa4d7f87638e49685ca (diff) | |
download | open-axiom-8df721df25864f89772c58a4486314855bf1a37e.tar.gz |
Fix some compiler warnings & buffer overflows
Diffstat (limited to 'src/hyper/parse-aux.c')
-rw-r--r-- | src/hyper/parse-aux.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/hyper/parse-aux.c b/src/hyper/parse-aux.c index 4c7600b9..24efcf89 100644 --- a/src/hyper/parse-aux.c +++ b/src/hyper/parse-aux.c @@ -512,7 +512,6 @@ int get_filename() { int c, ws; - static int seen_white = 0; /*UNUSED */ static char buffer[256]; char *buf = buffer; @@ -524,8 +523,6 @@ get_filename() keyword_fpos = fpos; c = get_char(); ws = whitespace(c); - if (ws) - seen_white = 1; } while (ws); switch (c) { case EOF: @@ -545,7 +542,6 @@ get_filename() *buf = '\0'; token.type = openaxiom_Word_token; token.id = buffer; - seen_white = 0; break; } return 1; |