diff options
author | drh <drh@noemail.net> | 2011-03-06 21:28:32 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2011-03-06 21:28:32 +0000 |
commit | c126e63e4fda95f47ffe1cb294b5417c7a46c223 (patch) | |
tree | 65b7a94b2892db277a1111c79ae476b444767043 /src/vdbeapi.c | |
parent | d7255a207eab440617f4603b016350f075a9bf8b (diff) | |
download | sqlite-c126e63e4fda95f47ffe1cb294b5417c7a46c223.tar.gz sqlite-c126e63e4fda95f47ffe1cb294b5417c7a46c223.zip |
Remove dead code identified by the clang static analyzer.
FossilOrigin-Name: 01a79d5a7af48fb7e50291c0c7c6283d3fb359d0
Diffstat (limited to 'src/vdbeapi.c')
-rw-r--r-- | src/vdbeapi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vdbeapi.c b/src/vdbeapi.c index 5578b868e..76cd9215a 100644 --- a/src/vdbeapi.c +++ b/src/vdbeapi.c @@ -682,13 +682,11 @@ int sqlite3_data_count(sqlite3_stmt *pStmt){ */ static Mem *columnMem(sqlite3_stmt *pStmt, int i){ Vdbe *pVm; - int vals; Mem *pOut; pVm = (Vdbe *)pStmt; if( pVm && pVm->pResultSet!=0 && i<pVm->nResColumn && i>=0 ){ sqlite3_mutex_enter(pVm->db->mutex); - vals = sqlite3_data_count(pStmt); pOut = &pVm->pResultSet[i]; }else{ /* If the value passed as the second argument is out of range, return |