mountmgr.sys: Fix a compiler warning.

Dmitry Timoshkov dmitry at codeweavers.com
Tue Nov 18 04:26:38 CST 2008


---
 dlls/mountmgr.sys/mountmgr.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/mountmgr.sys/mountmgr.c b/dlls/mountmgr.sys/mountmgr.c
index 5dc9051..e7ac5b0 100644
--- a/dlls/mountmgr.sys/mountmgr.c
+++ b/dlls/mountmgr.sys/mountmgr.c
@@ -292,6 +292,7 @@ static NTSTATUS query_unix_drive( const void *in_buff, SIZE_T insize,
     if ((status = query_dos_device( letter - 'a', &device_type, &device, &mount_point ))) return status;
     switch (device_type)
     {
+    default:
     case DEVICE_UNKNOWN:      type = DRIVE_UNKNOWN; break;
     case DEVICE_HARDDISK:     type = DRIVE_REMOVABLE; break;
     case DEVICE_HARDDISK_VOL: type = DRIVE_FIXED; break;
-- 
1.6.0.3




More information about the wine-patches mailing list