diff options
-rw-r--r-- | otherlibs/win32unix/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/win32unix/write.c b/otherlibs/win32unix/write.c index ac7daa7b0..190d90253 100644 --- a/otherlibs/win32unix/write.c +++ b/otherlibs/win32unix/write.c @@ -66,7 +66,7 @@ CAMLprim value unix_single_write(value fd, value buf, value vofs, value vlen) intnat ofs, len, written; DWORD numbytes, numwritten; char iobuf[UNIX_BUFFER_SIZE]; - DWORD err; + DWORD err = 0; Begin_root (buf); ofs = Long_val(vofs); |