mountmgr.sys: Remove variable result which is not really used from update_symlink.
Gerald Pfeifer
gerald at pfeifer.com
Sat May 8 12:44:22 CDT 2010
---
dlls/mountmgr.sys/device.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c
index ba5a02b..6c182e8 100644
--- a/dlls/mountmgr.sys/device.c
+++ b/dlls/mountmgr.sys/device.c
@@ -175,7 +175,6 @@ static void update_symlink( const char *path, const char *dest, const char *orig
/* send notification about a change to a given drive */
static void send_notify( int drive, int code )
{
- DWORD_PTR result;
DEV_BROADCAST_VOLUME info;
info.dbcv_size = sizeof(info);
@@ -183,8 +182,8 @@ static void send_notify( int drive, int code )
info.dbcv_reserved = 0;
info.dbcv_unitmask = 1 << drive;
info.dbcv_flags = DBTF_MEDIA;
- result = BroadcastSystemMessageW( BSF_FORCEIFHUNG|BSF_QUERY, NULL,
- WM_DEVICECHANGE, code, (LPARAM)&info );
+ BroadcastSystemMessageW( BSF_FORCEIFHUNG|BSF_QUERY, NULL,
+ WM_DEVICECHANGE, code, (LPARAM)&info );
}
/* create the disk device for a given volume */
--
1.6.6.2
More information about the wine-patches
mailing list