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

Fix harmless compiler warnings in the command-line shell and in Lemon.

FossilOrigin-Name: afcdc4a60e357d171156e0de705bf7ad1b37daab
This commit is contained in:
drh
2016-12-29 19:48:46 +00:00
parent cae20d5cf1
commit 96ada59cbb
4 changed files with 10 additions and 11 deletions

View File

@@ -3292,7 +3292,7 @@ static void shellFkeyCollateClause(
const char *zParentSeq;
const char *zChild;
const char *zChildCol;
const char *zChildSeq;
const char *zChildSeq = 0; /* Initialize to avoid false-positive warning */
int rc;
assert( nVal==4 );
@@ -3500,7 +3500,7 @@ static int lintDotCommand(
int nArg /* Number of entries in azArg[] */
){
int n;
n = (nArg>=2 ? strlen(azArg[1]) : 0);
n = (nArg>=2 ? (int)strlen(azArg[1]) : 0);
if( n<1 || sqlite3_strnicmp(azArg[1], "fkey-indexes", n) ) goto usage;
return lintFkeyIndexes(pState, azArg, nArg);