mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-06 18:54:14 +08:00
mdbx: fix one more minor warning.
Change-Id: I80466714d739fc46aedbedfee0919b64704ffc37
This commit is contained in:
parent
7d63855793
commit
321bc2b901
2
mdb.c
2
mdb.c
@ -1589,7 +1589,7 @@ mdb_kill_page(MDB_env *env, pgno_t pgno)
|
|||||||
iov[0].iov_base = alloca(iov[0].iov_len);
|
iov[0].iov_base = alloca(iov[0].iov_len);
|
||||||
memset(iov[0].iov_base, 0x6F /* 'o', 111 */, iov[0].iov_len);
|
memset(iov[0].iov_base, 0x6F /* 'o', 111 */, iov[0].iov_len);
|
||||||
ssize_t rc = pwritev(env->me_fd, iov, 1, offs + shift);
|
ssize_t rc = pwritev(env->me_fd, iov, 1, offs + shift);
|
||||||
assert(rc == iov[0].iov_len);
|
assert(rc == (ssize_t) iov[0].iov_len);
|
||||||
(void) rc;
|
(void) rc;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user