40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
From ea8b79eda165722d04b369f1811a5aa80ab5acc6 Mon Sep 17 00:00:00 2001
|
|
From: SSHz <szhang590@bloomberg.net>
|
|
Date: Sun, 27 Nov 2022 14:46:16 +0000
|
|
Subject: [PATCH 04/18] removed set but unused variables in yacc/reader.c
|
|
(#11758)
|
|
|
|
(cherry picked from commit 0114f62d3ed056254ac25192f724e92a2ff6c448)
|
|
---
|
|
yacc/reader.c | 3 ---
|
|
1 file changed, 3 deletions(-)
|
|
|
|
diff --git a/yacc/reader.c b/yacc/reader.c
|
|
index 7377967994..7a0b888961 100644
|
|
--- a/yacc/reader.c
|
|
+++ b/yacc/reader.c
|
|
@@ -1049,12 +1049,10 @@ void read_declarations(void)
|
|
void output_token_type(void)
|
|
{
|
|
bucket * bp;
|
|
- int n;
|
|
|
|
fprintf(interface_file, "type token =\n");
|
|
if (!rflag) ++outline;
|
|
fprintf(output_file, "type token =\n");
|
|
- n = 0;
|
|
for (bp = first_symbol; bp; bp = bp->next) {
|
|
if (bp->class == TERM && bp->true_token) {
|
|
fprintf(interface_file, " | %s", bp->name);
|
|
@@ -1068,7 +1066,6 @@ void output_token_type(void)
|
|
fprintf(interface_file, "\n");
|
|
if (!rflag) ++outline;
|
|
fprintf(output_file, "\n");
|
|
- n++;
|
|
}
|
|
}
|
|
fprintf(interface_file, "\n");
|
|
--
|
|
2.41.0
|
|
|