From 3b5b351b656050b2f8411e4ecbd7ede68523ec5c Mon Sep 17 00:00:00 2001 From: drh <drh@noemail.net> Date: Thu, 22 Dec 2011 01:46:04 +0000 Subject: [PATCH] Remove a redundant assignment operator. FossilOrigin-Name: 19a6852a1e5905b35bc69b309951c5ec8ecd0bef --- manifest | 12 ++++++------ manifest.uuid | 2 +- src/wal.c | 1 - 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/manifest b/manifest index 9b902fbbaf..d75a9a88ff 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Add\sthe\sability\sto\senable\sor\sdisable\sSQLITE_IOCAP_ZERO_DAMAGE\susing\sa\sURI\nparameter\sfor\sboth\sunix\sand\swindows.\s\sAdd\sa\sfile-control\sto\squery\sor\sdisable\nthe\sZERO_DAMAGE\ssetting.\s\sAdd\sthe\s-uri\soption\sto\sthe\s"sqlite3"\sTCL\scommand\nin\stclsqlite3.c.\s\sAllow\sthe\ssqlite3_uri_parameter()\sinterface\sto\saccept\sa\nNULL\spointer\sfor\sits\sfirst\sparameter. -D 2011-12-21T14:42:29.520 +C Remove\sa\sredundant\sassignment\soperator. +D 2011-12-22T01:46:04.520 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in 5b4a3e12a850b021547e43daf886b25133b44c07 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@ -250,7 +250,7 @@ F src/vdbemem.c 2fc78b3e0fabcc1eaa23cd79dd2e30e6dcfe1e56 F src/vdbesort.c 468d43c057063e54da4f1988b38b4f46d60e7790 F src/vdbetrace.c d6e50e04e1ec498150e519058f617d91b8f5c843 F src/vtab.c e9318d88feac85be8e27ee783ac8f5397933fc8a -F src/wal.c 86193db30a696ee46a0a0ee052e0cbb9aa6802cb +F src/wal.c 842901b44832474b0f77f9a031455af3787ae277 F src/wal.h 42f8313f7aaf8913e2d1fdf7b47025c23491ea1d F src/walker.c 3112bb3afe1d85dc52317cb1d752055e9a781f8f F src/where.c af623942514571895818b9b7ae11db95ae3b3d88 @@ -985,7 +985,7 @@ F tool/tostr.awk e75472c2f98dd76e06b8c9c1367f4ab07e122d06 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f F tool/warnings-clang.sh 9f406d66e750e8ac031c63a9ef3248aaa347ef2a F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381 -P 7ac713a14e24c48651c2a97acc9839850fa7f3c3 -R 8d88cdfbb2218ba883425a8ad72e347f +P c83627b73285f883719845c1b9fe85f378f28dd2 +R f1e5c3d8040d152c5fcb2f4a7615b662 U drh -Z 6c0db6cbcd8026c224cda9667bf4cff6 +Z 2c78a3c6c37d41190b48f488942db024 diff --git a/manifest.uuid b/manifest.uuid index 074245c6ae..6760521fcc 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -c83627b73285f883719845c1b9fe85f378f28dd2 \ No newline at end of file +19a6852a1e5905b35bc69b309951c5ec8ecd0bef \ No newline at end of file diff --git a/src/wal.c b/src/wal.c index ff33d5f30d..d3b66b5b9f 100644 --- a/src/wal.c +++ b/src/wal.c @@ -1154,7 +1154,6 @@ static int walIndexRecover(Wal *pWal){ /* Read all frames from the log file. */ iFrame = 0; - isValid = 1; for(iOffset=WAL_HDRSIZE; (iOffset+szFrame)<=nSize; iOffset+=szFrame){ u32 pgno; /* Database page number for frame */ u32 nTruncate; /* dbsize field from frame header */