diff options
author | Pierre Weis <Pierre.Weis@inria.fr> | 2009-09-25 15:03:06 +0000 |
---|---|---|
committer | Pierre Weis <Pierre.Weis@inria.fr> | 2009-09-25 15:03:06 +0000 |
commit | e5522b690df9e7ee2ed076b693875450a03d6bcb (patch) | |
tree | 563fc4e694a0ff6eba3c3badfa5d1c17e01fa883 /otherlibs | |
parent | 4b71a3183cd0da9367297b218fb7230e465b722c (diff) |
Variable err is initialized to 0.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9359 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs')
-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); |