Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0c2fbbe7
Commit
0c2fbbe7
authored
May 08, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
May 10, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mountmgr.sys: Remove variable result which is not really used from update_symlink.
parent
c45c226d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
device.c
dlls/mountmgr.sys/device.c
+1
-2
No files found.
dlls/mountmgr.sys/device.c
View file @
0c2fbbe7
...
@@ -175,7 +175,6 @@ static void update_symlink( const char *path, const char *dest, const char *orig
...
@@ -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,7 +182,7 @@ static void send_notify( int drive, int code )
...
@@ -183,7 +182,7 @@ 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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment