aboutsummaryrefslogtreecommitdiff
path: root/tool/lemon.c
diff options
context:
space:
mode:
authormistachkin <mistachkin@noemail.net>2024-02-04 04:01:11 +0000
committermistachkin <mistachkin@noemail.net>2024-02-04 04:01:11 +0000
commit3ab9c021ff7076dd8c942b67b658ad013587d132 (patch)
tree9fb877cf10e28d38ee19bbfcd070767cd83bfb5a /tool/lemon.c
parent7d6f33046f6c52b308d58ed89e894cb37ad5a18b (diff)
downloadsqlite-3ab9c021ff7076dd8c942b67b658ad013587d132.tar.gz
sqlite-3ab9c021ff7076dd8c942b67b658ad013587d132.zip
Fix harmless compiler warnings seen with MSVC.
FossilOrigin-Name: e52c87420b072fa68d921eda66069542d50accbfaf1110ac4cc1543a4162200d
Diffstat (limited to 'tool/lemon.c')
-rw-r--r--tool/lemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lemon.c b/tool/lemon.c
index 5b1702f4e..0239b2d86 100644
--- a/tool/lemon.c
+++ b/tool/lemon.c
@@ -4806,7 +4806,7 @@ void ReportTable(
/* Generate the table of fallback tokens.
*/
if( lemp->has_fallback ){
- int mx = lemp->nterminal - 1;
+ mx = lemp->nterminal - 1;
/* 2019-08-28: Generate fallback entries for every token to avoid
** having to do a range check on the index */
/* while( mx>0 && lemp->symbols[mx]->fallback==0 ){ mx--; } */