mdbx: remove needless assert.

Change-Id: I0129a9e2cd8bda4c541d8b610bcf3f887ddcb75b
This commit is contained in:
Leo Yuriev 2016-05-04 21:39:32 +03:00
parent 2dd9638321
commit 599069b2c4

1
mdb.c
View File

@ -4360,7 +4360,6 @@ mdb_env_map(MDB_env *env, void *addr, size_t usedsize)
#ifdef MADV_REMOVE
if (flags & MDB_WRITEMAP) {
assert(used_edge < env->me_mapsize);
(void) madvise(env->me_map + usedsize, env->me_mapsize - usedsize, MADV_REMOVE);
}
#endif