mdbx: fix one more minor warning.

Change-Id: I80466714d739fc46aedbedfee0919b64704ffc37
This commit is contained in:
Leo Yuriev 2016-03-25 05:08:35 +03:00
parent 7d63855793
commit 321bc2b901

2
mdb.c
View File

@ -1589,7 +1589,7 @@ mdb_kill_page(MDB_env *env, pgno_t pgno)
iov[0].iov_base = alloca(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);
assert(rc == iov[0].iov_len);
assert(rc == (ssize_t) iov[0].iov_len);
(void) rc;
}
}