Module: wine Branch: master Commit: 7ae50b230d0b49693470ee06244970c4393eb119 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7ae50b230d0b49693470ee0624...
Author: Michael Stefaniuc mstefani@redhat.de Date: Wed Feb 15 10:53:01 2017 +0100
dplayx: Fix multiple assigments to the same lvalue (coccinellery).
Signed-off-by: Michael Stefaniuc mstefani@redhat.de Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/dplayx/dplayx_messages.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/dplayx/dplayx_messages.c b/dlls/dplayx/dplayx_messages.c index 95cc15f..6f6636c 100644 --- a/dlls/dplayx/dplayx_messages.c +++ b/dlls/dplayx/dplayx_messages.c @@ -301,10 +301,10 @@ HRESULT DP_MSG_ForwardPlayerCreation( IDirectPlayImpl *This, DPID dpidServer )
lpMsgBody->dpidAppServer2 = dpidServer; lpMsgBody->unknown3[0] = 0x0; - lpMsgBody->unknown3[0] = 0x0; - lpMsgBody->unknown3[0] = 0x20; - lpMsgBody->unknown3[0] = 0x0; - lpMsgBody->unknown3[0] = 0x0; + lpMsgBody->unknown3[1] = 0x0; + lpMsgBody->unknown3[2] = 0x20; + lpMsgBody->unknown3[3] = 0x0; + lpMsgBody->unknown3[4] = 0x0;
lpMsgBody->dpidAppServer3 = dpidServer; lpMsgBody->unknown4[0] = 0x30;