1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Changes to avoid "unused parameter" compiler warnings. (CVS 5921)

FossilOrigin-Name: 88134322c36b41304aaeef99c39b4ef5b495ca3b
This commit is contained in:
danielk1977
2008-11-19 09:05:26 +00:00
parent b232c23297
commit 62c14b3487
23 changed files with 142 additions and 106 deletions

View File

@@ -11,7 +11,7 @@
*************************************************************************
** This file contains code associated with the ANALYZE command.
**
** @(#) $Id: analyze.c,v 1.44 2008/11/03 20:55:07 drh Exp $
** @(#) $Id: analyze.c,v 1.45 2008/11/19 09:05:27 danielk1977 Exp $
*/
#ifndef SQLITE_OMIT_ANALYZE
#include "sqliteInt.h"
@@ -356,13 +356,15 @@ struct analysisInfo {
** argv[0] = name of the index
** argv[1] = results of analysis - on integer for each column
*/
static int analysisLoader(void *pData, int argc, char **argv, char **azNotUsed){
static int analysisLoader(void *pData, int argc, char **argv, char **NotUsed){
analysisInfo *pInfo = (analysisInfo*)pData;
Index *pIndex;
int i, c;
unsigned int v;
const char *z;
UNUSED_PARAMETER(NotUsed);
assert( argc==2 );
if( argv==0 || argv[0]==0 || argv[1]==0 ){
return 0;