=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: dplayx: Avoid TRUE: FALSE conditional expressions.

Alexandre Julliard julliard at winehq.org
Mon Jan 13 12:46:31 CST 2014


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Sun Jan 12 10:44:32 2014 +0100

dplayx: Avoid TRUE:FALSE conditional expressions.

---

 dlls/dplayx/dplay.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c
index 0d448a6..0314597 100644
--- a/dlls/dplayx/dplay.c
+++ b/dlls/dplayx/dplay.c
@@ -4634,7 +4634,7 @@ static HMODULE DP_LoadSP( LPCGUID lpcGuid, LPSPINITDATA lpSpData, LPBOOL lpbIsDp
     FILETIME filetime;
 
     (i == 0) ? (searchSubKey = spSubKey ) : (searchSubKey = lpSubKey );
-    *lpbIsDpSp = (i == 0) ? TRUE : FALSE;
+    *lpbIsDpSp = (i == 0);
 
 
     /* Need to loop over the service providers in the registry */




More information about the wine-cvs mailing list