aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-04-26 21:02:53 +0000
committerdrh <drh@noemail.net>2016-04-26 21:02:53 +0000
commite5f06fdc8718d60ae90b5791026b58fd812c3963 (patch)
treee20f0c18fcf52105ae1c9d516f98b5ad5beb6106 /src/util.c
parent97a7e5e68cdfe31e9e020ed59d8f93787e18cd25 (diff)
downloadsqlite-e5f06fdc8718d60ae90b5791026b58fd812c3963.tar.gz
sqlite-e5f06fdc8718d60ae90b5791026b58fd812c3963.zip
Remove an unnecessary line from the sqlite3AtoF() routine.
FossilOrigin-Name: a9d007494cfe30a26dca5352655dc7702351476e
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/util.c b/src/util.c
index 2f77a6033..e01928815 100644
--- a/src/util.c
+++ b/src/util.c
@@ -384,9 +384,6 @@ int sqlite3AtoF(const char *z, double *pResult, int length, u8 enc){
z+=incr;
}
- /* skip leading zeroes */
- while( z<zEnd && z[0]=='0' ) z+=incr, nDigits++;
-
/* copy max significant digits to significand */
while( z<zEnd && sqlite3Isdigit(*z) && s<((LARGEST_INT64-9)/10) ){
s = s*10 + (*z - '0');