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:
@ -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;
|
||||
|
Reference in New Issue
Block a user