1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix harmless compiler warnings in shell.c.in, and a compiler warning in

sqlite3expert.c which is a real error, though also harmless.

FossilOrigin-Name: 56da0e9c0321d1fd3c360722cd6284296f9ba459f6b37ab35c81ecabd18f12e3
This commit is contained in:
drh
2021-09-22 13:43:16 +00:00
parent c2f61c18d1
commit fd7abcd15b
4 changed files with 11 additions and 13 deletions

View File

@ -920,7 +920,7 @@ static int idxFindCompatible(
*/
static int countNonzeros(void* pCount, int nc,
char* azResults[], char* azColumns[]){
if( nc>0 && azResults[0][0]!='0' || azResults[0][1]!=0 ){
if( nc>0 && (azResults[0][0]!='0' || azResults[0][1]!=0) ){
*((int *)pCount) += 1;
}
return 0;