mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Fix trivial compiler warnings. (CVS 3295)
FossilOrigin-Name: 3538beace8ece6339fe8aaf40852ce5e5e7da283
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*************************************************************************
|
||||
** This file contains code used to help implement virtual tables.
|
||||
**
|
||||
** $Id: vtab.c,v 1.24 2006/06/24 09:34:23 danielk1977 Exp $
|
||||
** $Id: vtab.c,v 1.25 2006/06/26 11:17:51 danielk1977 Exp $
|
||||
*/
|
||||
#ifndef SQLITE_OMIT_VIRTUALTABLE
|
||||
#include "sqliteInt.h"
|
||||
@@ -139,7 +139,7 @@ void sqlite3VtabBeginParse(
|
||||
*/
|
||||
static void addArgumentToVtab(Parse *pParse){
|
||||
if( pParse->sArg.z && pParse->pNewTable ){
|
||||
char *z = pParse->sArg.z;
|
||||
const char *z = pParse->sArg.z;
|
||||
int n = pParse->sArg.n;
|
||||
addModuleArgument(pParse->pNewTable, sqliteStrNDup(z, n));
|
||||
}
|
||||
|
Reference in New Issue
Block a user