Gerald Pfeifer : mountmgr.sys: Remove variable result which is not really used from update_symlink.

Alexandre Julliard julliard at winehq.org
Mon May 10 11:59:14 CDT 2010


Module: wine
Branch: master
Commit: 0c2fbbe7f04e774afc56a1e09b81847688b92997
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0c2fbbe7f04e774afc56a1e09b81847688b92997

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat May  8 19:44:22 2010 +0200

mountmgr.sys: Remove variable result which is not really used from update_symlink.

---

 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 */




More information about the wine-cvs mailing list