Commit c6ecb1b6 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

hnetcfg: Remove redundant "not NULL" check (coccinellery).

parent 39698f54
......@@ -641,11 +641,8 @@ static HRESULT WINAPI fwpolicy2_get_Rules(INetFwPolicy2 *iface, INetFwRules **ru
if(!rules)
return E_POINTER;
if(rules)
{
*rules = This->fw_policy2_rules;
INetFwRules_AddRef(This->fw_policy2_rules);
}
*rules = This->fw_policy2_rules;
INetFwRules_AddRef(This->fw_policy2_rules);
return S_OK;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment