mountmgr.sys: Avoid a compiler warning on older gcc.
authorAlexandre Julliard <julliard@winehq.org>
Thu, 4 Dec 2008 13:32:21 +0000 (14:32 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 4 Dec 2008 13:32:21 +0000 (14:32 +0100)
dlls/mountmgr.sys/mountmgr.c

index 5dc9051b177ae5f04f92cedac3d50cfe08d69eea..00112b9ad26b66138f7b3b9454cddcdf12fef8dc 100644 (file)
@@ -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;