1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Remove an unnecessary line from the sqlite3AtoF() routine.

FossilOrigin-Name: a9d007494cfe30a26dca5352655dc7702351476e
This commit is contained in:
drh
2016-04-26 21:02:53 +00:00
parent 97a7e5e68c
commit e5f06fdc87
3 changed files with 7 additions and 10 deletions

View File

@@ -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');