1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Remove an unused parameter from sqlite3VdbeIdxRowid(). This is cosmetic

only as the C-compiler optimizers were already omitting this parameter on
amalgamation builds.

FossilOrigin-Name: a10a6bba4963761b490b7243b388dcc920c4cfed
This commit is contained in:
drh
2014-09-16 14:55:08 +00:00
parent 75179ded97
commit 897a2d50f2
5 changed files with 12 additions and 14 deletions

View File

@@ -4769,7 +4769,7 @@ case OP_IdxRowid: { /* out2-prerelease */
assert( pC->isTable==0 );
if( !pC->nullRow ){
rowid = 0; /* Not needed. Only used to silence a warning. */
rc = sqlite3VdbeIdxRowid(db, pCrsr, &rowid);
rc = sqlite3VdbeIdxRowid(pCrsr, &rowid);
if( rc!=SQLITE_OK ){
goto abort_due_to_error;
}