rpcrt4/tests: Added missing assignment (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2017-05-14 23:32:17 +03:00 committed by Alexandre Julliard
parent 1f97ef8ec5
commit dcdf7d6f6d
2 changed files with 2 additions and 2 deletions

View File

@ -1146,7 +1146,7 @@ static HRESULT set_firewall( enum firewall_op op )
hr = INetFwPolicy_get_CurrentProfile( policy, &profile ); hr = INetFwPolicy_get_CurrentProfile( policy, &profile );
if (hr != S_OK) goto done; 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 ); ok( hr == S_OK, "got %08x\n", hr );
if (hr != S_OK) goto done; if (hr != S_OK) goto done;

View File

@ -1875,7 +1875,7 @@ static HRESULT set_firewall( enum firewall_op op )
hr = INetFwPolicy_get_CurrentProfile( policy, &profile ); hr = INetFwPolicy_get_CurrentProfile( policy, &profile );
if (hr != S_OK) goto done; 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 ); ok( hr == S_OK, "got %08x\n", hr );
if (hr != S_OK) goto done; if (hr != S_OK) goto done;