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
3d8f5c15
Commit
3d8f5c15
authored
Apr 16, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Remove unused variables.
parent
13e405c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
dplay.c
dlls/dplayx/dplay.c
+3
-6
No files found.
dlls/dplayx/dplay.c
View file @
3d8f5c15
...
...
@@ -3396,13 +3396,12 @@ static void DP_CopySessionDesc( LPDPSESSIONDESC2 lpSessionDest,
static
HRESULT
WINAPI
DP_IF_AddGroupToGroup
(
IDirectPlay3Impl
*
This
,
DPID
idParentGroup
,
DPID
idGroup
)
{
lpGroupData
lpGParentData
;
lpGroupData
lpGData
;
lpGroupList
lpNewGList
;
TRACE
(
"(%p)->(0x%08x,0x%08x)
\n
"
,
This
,
idParentGroup
,
idGroup
);
if
(
(
lpGParentData
=
DP_FindAnyGroup
(
(
IDirectPlay2AImpl
*
)
This
,
idParentGroup
)
)
==
NULL
)
if
(
DP_FindAnyGroup
(
(
IDirectPlay2AImpl
*
)
This
,
idParentGroup
)
==
NULL
)
{
return
DPERR_INVALIDGROUP
;
}
...
...
@@ -4487,8 +4486,6 @@ static HRESULT WINAPI DP_SendEx
LPVOID
lpData
,
DWORD
dwDataSize
,
DWORD
dwPriority
,
DWORD
dwTimeout
,
LPVOID
lpContext
,
LPDWORD
lpdwMsgID
,
BOOL
bAnsi
)
{
lpPlayerList
lpPList
;
lpGroupData
lpGData
;
BOOL
bValidDestination
=
FALSE
;
FIXME
(
"(%p)->(0x%08x,0x%08x,0x%08x,%p,0x%08x,0x%08x,0x%08x,%p,%p,%u)"
...
...
@@ -4508,7 +4505,7 @@ static HRESULT WINAPI DP_SendEx
*/
if
(
idFrom
!=
DPID_UNKNOWN
)
{
if
(
(
lpPList
=
DP_FindPlayer
(
This
,
idFrom
)
)
==
NULL
)
if
(
DP_FindPlayer
(
This
,
idFrom
)
==
NULL
)
{
WARN
(
"INFO: Invalid from player 0x%08x
\n
"
,
idFrom
);
return
DPERR_INVALIDPLAYER
;
...
...
@@ -4551,7 +4548,7 @@ static HRESULT WINAPI DP_SendEx
}
if
(
(
!
bValidDestination
)
&&
(
(
lpGData
=
DP_FindAnyGroup
(
This
,
idTo
)
)
!=
NULL
)
(
DP_FindAnyGroup
(
This
,
idTo
)
!=
NULL
)
)
{
bValidDestination
=
TRUE
;
...
...
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