--- a/mercurial/osutil.c Sun May 24 16:27:37 2009 +0200 +++ b/mercurial/osutil.c Sun May 24 16:27:50 2009 +0200 @@ -402,7 +402,7 @@ PyObject *file_obj = NULL; char *name = NULL; char *mode = "rb"; - DWORD access; + DWORD access = 0; DWORD creation; HANDLE handle; int fd, flags = 0;