1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix harmless static-analysis warnings, mosting having to do with memory

leaks in the command-line shell.  Add a clang analysis of the command-line
shell to the "warnings-clang.sh" script.  Other minor cleanups to the
command-line shell code.

FossilOrigin-Name: 93a0f452a7023898ad3d62ee81b39a80477c332f
This commit is contained in:
drh
2012-04-11 11:38:53 +00:00
parent c00ce490c5
commit 85e7243acf
6 changed files with 24 additions and 33 deletions

View File

@ -3739,7 +3739,6 @@ static int fts3IncrmergeAppend(
pLeaf->key.n = 0;
pLeaf->block.n = 0;
nPrefix = 0;
nSuffix = nTerm;
nSpace = 1;
nSpace += sqlite3Fts3VarintLen(nSuffix) + nSuffix;