Michael Stefaniuc : dplayx: Fix multiple assigments to the same lvalue ( coccinellery).

Alexandre Julliard julliard at winehq.org
Wed Feb 15 16:06:23 CST 2017


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

Author: Michael Stefaniuc <mstefani at 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 at redhat.de>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at 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;




More information about the wine-cvs mailing list