Alexandre Julliard : mountmgr.sys: Avoid a compiler warning on older gcc.
Alexandre Julliard
julliard at winehq.org
Thu Dec 4 09:02:54 CST 2008
Module: wine
Branch: master
Commit: 5606bf4df47306702c624bd66b1e28b8aee1c2ec
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5606bf4df47306702c624bd66b1e28b8aee1c2ec
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Dec 4 14:32:21 2008 +0100
mountmgr.sys: Avoid a compiler warning on older gcc.
---
dlls/mountmgr.sys/mountmgr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/mountmgr.sys/mountmgr.c b/dlls/mountmgr.sys/mountmgr.c
index 5dc9051..00112b9 100644
--- a/dlls/mountmgr.sys/mountmgr.c
+++ b/dlls/mountmgr.sys/mountmgr.c
@@ -283,7 +283,7 @@ static NTSTATUS query_unix_drive( const void *in_buff, SIZE_T insize,
const char *device, *mount_point;
int letter = tolowerW( input->letter );
NTSTATUS status;
- DWORD size, type;
+ DWORD size, type = DEVICE_UNKNOWN;
enum device_type device_type;
char *ptr;
More information about the wine-cvs
mailing list