aboutsummaryrefslogtreecommitdiff
path: root/tool/lempar.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-09-20 13:33:28 +0000
committerdrh <drh@noemail.net>2020-09-20 13:33:28 +0000
commit9ca41fbfa93abb7f1e19790010cd270b0aa3870c (patch)
tree38d45e069ab96d86df023c8227123d03e0735267 /tool/lempar.c
parent79d9af960b39c02be348b68b14f4a8736137a0e3 (diff)
downloadsqlite-9ca41fbfa93abb7f1e19790010cd270b0aa3870c.tar.gz
sqlite-9ca41fbfa93abb7f1e19790010cd270b0aa3870c.zip
Remove a new assert() that the compiler finds is always true at compile-time,
to avoid a compiler warning. FossilOrigin-Name: 8bbaee238593741da107b92b254cb5f0cf8b6bcc760bf2b25d20e46c8edee2a9
Diffstat (limited to 'tool/lempar.c')
-rw-r--r--tool/lempar.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tool/lempar.c b/tool/lempar.c
index 9a4854857..71a51cf44 100644
--- a/tool/lempar.c
+++ b/tool/lempar.c
@@ -718,7 +718,6 @@ static YYACTIONTYPE yy_reduce(
(void)yyLookahead;
(void)yyLookaheadToken;
yymsp = yypParser->yytos;
- assert( yyruleno>=0 );
assert( yyruleno<(int)(sizeof(yyRuleName)/sizeof(yyRuleName[0])) );
#ifndef NDEBUG
if( yyTraceFILE ){