Michael Stefaniuc : urlmon/tests: Visually separate two if statements ( PVS-Studio).
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Nov 3 07:21:47 CST 2014
Module: wine
Branch: master
Commit: 0ef0477f9ec7b632fb21c87d64e7ad08171e3cf2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0ef0477f9ec7b632fb21c87d64e7ad08171e3cf2
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Fri Oct 31 10:59:25 2014 +0100
urlmon/tests: Visually separate two if statements (PVS-Studio).
---
dlls/urlmon/tests/protocol.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c
index 9ffa04d..df3c364 100644
--- a/dlls/urlmon/tests/protocol.c
+++ b/dlls/urlmon/tests/protocol.c
@@ -1991,7 +1991,9 @@ static HRESULT WINAPI ProtocolEmul_Read(IInternetProtocolEx *iface, void *pv,
memcpy(pv, "gif87a", 6);
prot_read += *pcbRead = cb;
return S_OK;
- }if(prot_state == 4) {
+ }
+
+ if(prot_state == 4) {
*pcbRead = 0;
return S_FALSE;
}
More information about the wine-cvs
mailing list