1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-09 14:21:03 +03:00

Fix harmless compiler warnings in JSON and FTS5.

FossilOrigin-Name: 90135efccfeb1046f002bfcbd8dfec9a1a3b40cbe1b5c714ae065b06368e354f
This commit is contained in:
drh
2023-12-14 15:38:57 +00:00
parent e6289d6dd0
commit 4a5c96ace3
4 changed files with 16 additions and 15 deletions

View File

@@ -1535,7 +1535,7 @@ json_parse_restart:
break;
}else{
if( jsonIsspace(z[j]) ){
j += 1 + strspn(&z[j+1], jsonSpaces);
j += 1 + (u32)strspn(&z[j+1], jsonSpaces);
if( z[j]==',' ){
continue;
}else if( z[j]=='}' ){
@@ -1587,7 +1587,7 @@ json_parse_restart:
break;
}else{
if( jsonIsspace(z[j]) ){
j += 1 + strspn(&z[j+1], jsonSpaces);
j += 1 + (u32)strspn(&z[j+1], jsonSpaces);
if( z[j]==',' ){
continue;
}else if( z[j]==']' ){
@@ -1850,7 +1850,7 @@ json_parse_restart:
case 0x0a:
case 0x0d:
case 0x20: {
i += 1 + strspn(&z[i+1], jsonSpaces);
i += 1 + (u32)strspn(&z[i+1], jsonSpaces);
goto json_parse_restart;
}
case 0x0b: