1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-12-21 13:38:01 +03:00

Tag a condition in os_unix.c as unreachable.

FossilOrigin-Name: 151844ad5451295104f18f4823d2fdaf041f22bc09099f1fa3f90898aafa7ea5
This commit is contained in:
drh
2025-08-02 17:37:59 +00:00
parent 8c30f16a2e
commit cd552cf99f
3 changed files with 9 additions and 9 deletions

View File

@@ -5358,7 +5358,7 @@ static void unixRemapfile(
#endif
/* The attempt to extend the existing mapping failed. Free it. */
if( pNew==MAP_FAILED || pNew==0 ){
if( pNew==MAP_FAILED || NEVER(pNew==0) ){
osMunmap(pOrig, nReuse);
}
}