1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix harmless compiler warnings in the 'session' module.

FossilOrigin-Name: a18a6ce2271865d04cd75a8a5baa63798b7393db
This commit is contained in:
mistachkin
2016-04-12 19:20:22 +00:00
parent 741c2772db
commit 74f598b677
3 changed files with 11 additions and 11 deletions

View File

@ -935,9 +935,9 @@ static int sessionTableInfo(
int nDbCol = 0;
int nThis;
int i;
u8 *pAlloc;
u8 *pAlloc = 0;
char **azCol = 0;
u8 *abPK;
u8 *abPK = 0;
assert( pazCol && pabPK );
@ -3655,7 +3655,7 @@ static int sessionConflictHandler(
void *pCtx, /* First argument for conflict handler */
int *pbReplace /* OUT: Set to true if PK row is found */
){
int res; /* Value returned by conflict handler */
int res = 0; /* Value returned by conflict handler */
int rc;
int nCol;
int op;