aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2011-04-01 01:38:02 +0000
committerdrh <drh@noemail.net>2011-04-01 01:38:02 +0000
commit76a32a81e400fc3b38fe70962ca7c98c70ea015c (patch)
treeaa63b49459cafe46255d524587ca20c5306b3ced /src/analyze.c
parent661d71af8c1a47ebef22904e44cb9bce3b81bc3e (diff)
downloadsqlite-76a32a81e400fc3b38fe70962ca7c98c70ea015c.tar.gz
sqlite-76a32a81e400fc3b38fe70962ca7c98c70ea015c.zip
Fix a compiler warning and an unreachable branch. Restore 100% branch test
coverage. FossilOrigin-Name: 4dc148bb4cec5ecba167cdcb4959a4f0fa05a96f
Diffstat (limited to 'src/analyze.c')
-rw-r--r--src/analyze.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/analyze.c b/src/analyze.c
index d930a12ab..22ff38822 100644
--- a/src/analyze.c
+++ b/src/analyze.c
@@ -113,7 +113,6 @@ static void analyzeOneTable(
int i; /* Loop counter */
int topOfLoop; /* The top of the loop */
int endOfLoop; /* The end of the loop */
- int addr = 0; /* The address of an instruction */
int jZeroRows = -1; /* Jump from here if number of rows is zero */
int iDb; /* Index of database containing pTab */
int regTabname = iMem++; /* Register containing table name */