diff options
author | drh <drh@noemail.net> | 2017-01-12 19:10:55 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-01-12 19:10:55 +0000 |
commit | 7b20a15d1380ed7b2415e3b489695dbcd016c039 (patch) | |
tree | df4c6334bb016924bca7f0696bd90ba3d4a122a4 /src | |
parent | ae051a8970d0f50869fb8a36a5d51a13a8c929c0 (diff) | |
download | sqlite-7b20a15d1380ed7b2415e3b489695dbcd016c039.tar.gz sqlite-7b20a15d1380ed7b2415e3b489695dbcd016c039.zip |
Remove a branch that is probably unreachable, and which adds no value.
FossilOrigin-Name: 9acc72381ccd5e36f3ffdf7e7fbefc5a15701eb4
Diffstat (limited to 'src')
-rw-r--r-- | src/btree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree.c b/src/btree.c index c635e1571..7b5686764 100644 --- a/src/btree.c +++ b/src/btree.c @@ -8124,7 +8124,7 @@ int sqlite3BtreeInsert( pCur->eState = CURSOR_INVALID; if( (flags & BTREE_SAVEPOSITION) && rc==SQLITE_OK ){ rc = moveToRoot(pCur); - if( pCur->pKeyInfo && rc==SQLITE_OK ){ + if( pCur->pKeyInfo ){ assert( pCur->pKey==0 ); pCur->pKey = sqlite3Malloc( pX->nKey ); if( pCur->pKey==0 ){ |