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:
		@@ -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);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user