mountmgr.sys: Remove variable result which is not really used from update_symlink.
This commit is contained in:
parent
c45c226de4
commit
0c2fbbe7f0
|
@ -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 */
|
/* send notification about a change to a given drive */
|
||||||
static void send_notify( int drive, int code )
|
static void send_notify( int drive, int code )
|
||||||
{
|
{
|
||||||
DWORD_PTR result;
|
|
||||||
DEV_BROADCAST_VOLUME info;
|
DEV_BROADCAST_VOLUME info;
|
||||||
|
|
||||||
info.dbcv_size = sizeof(info);
|
info.dbcv_size = sizeof(info);
|
||||||
|
@ -183,8 +182,8 @@ static void send_notify( int drive, int code )
|
||||||
info.dbcv_reserved = 0;
|
info.dbcv_reserved = 0;
|
||||||
info.dbcv_unitmask = 1 << drive;
|
info.dbcv_unitmask = 1 << drive;
|
||||||
info.dbcv_flags = DBTF_MEDIA;
|
info.dbcv_flags = DBTF_MEDIA;
|
||||||
result = BroadcastSystemMessageW( BSF_FORCEIFHUNG|BSF_QUERY, NULL,
|
BroadcastSystemMessageW( BSF_FORCEIFHUNG|BSF_QUERY, NULL,
|
||||||
WM_DEVICECHANGE, code, (LPARAM)&info );
|
WM_DEVICECHANGE, code, (LPARAM)&info );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* create the disk device for a given volume */
|
/* create the disk device for a given volume */
|
||||||
|
|
Loading…
Reference in New Issue