diff options
author | drh <> | 2023-12-04 16:01:39 +0000 |
---|---|---|
committer | drh <> | 2023-12-04 16:01:39 +0000 |
commit | 99c41692f1297f2072345f895207ce5ecc881e3b (patch) | |
tree | d9c7b9adb2a0ed97d5d4badcd03f35adda55512c /src/json.c | |
parent | 732fb64ad38beb5f79742b25d524916d8dfae2ac (diff) | |
download | sqlite-99c41692f1297f2072345f895207ce5ecc881e3b.tar.gz sqlite-99c41692f1297f2072345f895207ce5ecc881e3b.zip |
Remove reachable ALWAYS and NEVER macros.
FossilOrigin-Name: f601de3eeabd85993c1f5ee96b62de6fdabbeae2fe8950e00d08feb48d42c498
Diffstat (limited to 'src/json.c')
-rw-r--r-- | src/json.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/json.c b/src/json.c index feab5f4df..10470e62d 100644 --- a/src/json.c +++ b/src/json.c @@ -2280,7 +2280,7 @@ static u32 jsonLookupStep( assert( !pParse->oom ); nIns = ix.nBlob + nKey + v.nBlob; jsonBlobEdit(pParse, j, 0, 0, nIns); - if( ALWAYS(!pParse->oom) ){ + if( !pParse->oom ){ memcpy(&pParse->aBlob[j], ix.aBlob, ix.nBlob); k = j + ix.nBlob; memcpy(&pParse->aBlob[k], zKey, nKey); @@ -2401,7 +2401,7 @@ static void jsonReturnFromBlob( sqlite3 *db = sqlite3_context_db_handle(pCtx); n = jsonbPayloadSize(pParse, i, &sz); - if( NEVER(n==0) ) return; + if( n==0 ) return; switch( pParse->aBlob[i] & 0x0f ){ case JSONB_NULL: { sqlite3_result_null(pCtx); |