fix: uninitialized (warnings).

Change-Id: I0f5eab80546a602a616209c6b585605826a06371
This commit is contained in:
Leo Yuriev 2015-01-04 01:30:02 +03:00
parent c1d30eeeda
commit 1b5de44e23

2
mdb.c
View File

@ -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)