[PATCH] rpcrt4/tests: Added missing assignment (Coverity)
Nikolay Sivov
nsivov at codeweavers.com
Sun May 14 15:32:17 CDT 2017
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/rpcrt4/tests/rpc.c | 2 +-
dlls/rpcrt4/tests/server.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/rpcrt4/tests/rpc.c b/dlls/rpcrt4/tests/rpc.c
index 7fdaf88d7f..f026e99de2 100644
--- a/dlls/rpcrt4/tests/rpc.c
+++ b/dlls/rpcrt4/tests/rpc.c
@@ -1146,7 +1146,7 @@ static HRESULT set_firewall( enum firewall_op op )
hr = INetFwPolicy_get_CurrentProfile( policy, &profile );
if (hr != S_OK) goto done;
- INetFwProfile_get_AuthorizedApplications( profile, &apps );
+ hr = INetFwProfile_get_AuthorizedApplications( profile, &apps );
ok( hr == S_OK, "got %08x\n", hr );
if (hr != S_OK) goto done;
diff --git a/dlls/rpcrt4/tests/server.c b/dlls/rpcrt4/tests/server.c
index 44a024dc70..b42a78f72d 100644
--- a/dlls/rpcrt4/tests/server.c
+++ b/dlls/rpcrt4/tests/server.c
@@ -1875,7 +1875,7 @@ static HRESULT set_firewall( enum firewall_op op )
hr = INetFwPolicy_get_CurrentProfile( policy, &profile );
if (hr != S_OK) goto done;
- INetFwProfile_get_AuthorizedApplications( profile, &apps );
+ hr = INetFwProfile_get_AuthorizedApplications( profile, &apps );
ok( hr == S_OK, "got %08x\n", hr );
if (hr != S_OK) goto done;
--
2.11.0
More information about the wine-patches
mailing list