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

Remove duplicated assignment in realloc.

FossilOrigin-Name: c419955df0ad0507ecb3869786d48458366d4e8f
This commit is contained in:
shaneh
2010-02-16 22:06:30 +00:00
parent 4a0b43caad
commit 030ea31797
3 changed files with 7 additions and 8 deletions

View File

@@ -75,7 +75,6 @@ static void *sqlite3MemRealloc(void *pPrior, int nByte){
sqlite3_int64 *p = (sqlite3_int64*)pPrior;
assert( pPrior!=0 && nByte>0 );
nByte = ROUND8(nByte);
p = (sqlite3_int64*)pPrior;
p--;
p = realloc(p, nByte+8 );
if( p ){