mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 02:44:13 +08:00
fix: uninitialized (warnings).
Change-Id: I0f5eab80546a602a616209c6b585605826a06371
This commit is contained in:
parent
c1d30eeeda
commit
1b5de44e23
2
mdb.c
2
mdb.c
@ -8405,7 +8405,7 @@ mdb_env_copythr(void *arg)
|
|||||||
{
|
{
|
||||||
mdb_copy *my = arg;
|
mdb_copy *my = arg;
|
||||||
char *ptr;
|
char *ptr;
|
||||||
int toggle = 0, wsize, rc;
|
int toggle = 0, wsize, rc = 0;
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
DWORD len;
|
DWORD len;
|
||||||
#define DO_WRITE(rc, fd, ptr, w2, len) rc = WriteFile(fd, ptr, w2, &len, NULL)
|
#define DO_WRITE(rc, fd, ptr, w2, len) rc = WriteFile(fd, ptr, w2, &len, NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user