1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Fix harmless compiler warnings.

FossilOrigin-Name: 0a926994691ccb02ea4f0ba3c2e8f728871ae67d24c705fbc0f7af81f38d5f47
This commit is contained in:
drh
2023-05-01 18:52:35 +00:00
parent abdcfcef83
commit 59fe13e39a
6 changed files with 17 additions and 18 deletions

View File

@@ -303,7 +303,7 @@ static void jsonAppendString(JsonString *p, const char *zIn, u32 N){
** features.
*/
static void jsonAppendNormalizedString(JsonString *p, const char *zIn, u32 N){
int i;
u32 i;
jsonAppendChar(p, '"');
zIn++;
N -= 2;
@@ -391,7 +391,7 @@ static void jsonAppendNormalizedInt(JsonString *p, const char *zIn, u32 N){
** features.
*/
static void jsonAppendNormalizedReal(JsonString *p, const char *zIn, u32 N){
int i;
u32 i;
if( zIn[0]=='+' ){
zIn++;
N--;
@@ -2608,7 +2608,7 @@ static void jsonErrorFunc(
sqlite3_result_int(ctx, 0);
}else{
int n = 1;
int i;
u32 i;
const char *z = p->zJson;
for(i=0; i<p->iErr && ALWAYS(z[i]); i++){
if( (z[i]&0xc0)!=0x80 ) n++;