Marcus Meissner : dplayx: Remove unnecessary assigment (Coverity).

Alexandre Julliard julliard at winehq.org
Mon Apr 22 14:29:17 CDT 2013


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

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Fri Apr 19 22:47:58 2013 +0200

dplayx: Remove unnecessary assigment (Coverity).

---

 dlls/dplayx/dplay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c
index 30a2ee3..4529c5e 100644
--- a/dlls/dplayx/dplay.c
+++ b/dlls/dplayx/dplay.c
@@ -1857,7 +1857,7 @@ static HRESULT WINAPI IDirectPlay4Impl_DeletePlayerFromGroup( IDirectPlay4 *ifac
         return DPERR_INVALIDGROUP;
 
     /* Find the player */
-    if ( ( plist = DP_FindPlayer( This, player ) ) == NULL )
+    if ( DP_FindPlayer( This, player ) == NULL )
         return DPERR_INVALIDPLAYER;
 
     /* Remove the player shortcut from the group */




More information about the wine-cvs mailing list