mshtml: Remove redundant "not NULL" check for the p arg (coccicheck).

This commit is contained in:
Michael Stefaniuc 2010-05-17 01:12:18 +02:00 committed by Alexandre Julliard
parent 8a3daa63e0
commit eb90d475cd
1 changed files with 4 additions and 6 deletions

View File

@ -1803,13 +1803,11 @@ static HRESULT WINAPI HTMLFiltersCollection_get_length(IHTMLFiltersCollection *i
{
HTMLFiltersCollection *This = HTMLFILTERSCOLLECTION_THIS(iface);
if(!p)
return E_POINTER;
FIXME("(%p)->(%p) Always returning 0\n", This, p);
if(!p)
return E_POINTER;
if(p)
*p = 0;
*p = 0;
return S_OK;
}