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

Fix compiler warnings in delete.c.

FossilOrigin-Name: 0a4d285e18b78cd529483ba5c8c607ab62a443d4
This commit is contained in:
dan
2015-09-12 19:50:58 +00:00
parent f0ee1d3c12
commit 7210b3d1e8
3 changed files with 8 additions and 12 deletions

View File

@@ -247,7 +247,6 @@ void sqlite3DeleteFrom(
int iRowSet = 0; /* Register for rowset of rows to delete */
int addrBypass = 0; /* Address of jump over the delete logic */
int addrLoop = 0; /* Top of the delete loop */
int addrDelete = 0; /* Jump directly to the delete logic */
int addrEphOpen = 0; /* Instruction to open the Ephemeral table */
#ifndef SQLITE_OMIT_TRIGGER
@@ -473,7 +472,7 @@ void sqlite3DeleteFrom(
** triggers.
*/
if( !isView ){
int iAddrOnce;
int iAddrOnce = 0;
if( eOnePass==2 ) iAddrOnce = sqlite3CodeOnce(pParse);
testcase( IsVirtual(pTab) );
sqlite3OpenTableAndIndices(pParse, pTab, OP_OpenWrite, iTabCur, aToOpen,