1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-03 16:53:36 +03:00

Fix harmless compiler warnings.

FossilOrigin-Name: 0213d6af84965676626c2fb4d78b4c74675207cc
This commit is contained in:
drh
2016-04-04 12:38:05 +00:00
parent 076b6468f5
commit 51b55a3ee6
4 changed files with 14 additions and 12 deletions

View File

@@ -2140,17 +2140,19 @@ static void session_close(OpenSession *pSession){
#endif
/*
** Close all OpenSession objects and release all assocaited resources.
** Close all OpenSession objects and release all associated resources.
*/
static void session_close_all(ShellState *p){
#if defined(SQLITE_ENABLE_SESSION)
static void session_close_all(ShellState *p){
int i;
for(i=0; i<p->nSession; i++){
session_close(&p->aSession[i]);
}
p->nSession = 0;
#endif
}
#else
# define session_close_all(X)
#endif
/*
** Implementation of the xFilter function for an open session. Omit