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

Turn an unreachable branch into an assert().

FossilOrigin-Name: 0f75199160e48fa8c44f986f1af777adf19e40fbd114a6f58e24d5e6dede779d
This commit is contained in:
drh
2023-10-05 20:17:01 +00:00
parent 51d507d432
commit dac2707152
3 changed files with 8 additions and 8 deletions

View File

@@ -2517,7 +2517,7 @@ static void jsonRemoveAllNulls(JsonNode *pNode){
static int jsonBlobExpand(JsonParse *pParse, u32 N){
u8 *aNew;
u32 t;
if( N<=pParse->nBlobAlloc ) return 0;
assert( N>pParse->nBlobAlloc );
if( pParse->nBlobAlloc==0 ){
t = 100;
}else{