quartz: Handle NULL return from strchr() (Coverity).

This commit is contained in:
Marcus Meissner 2011-05-03 16:19:02 +02:00 committed by Alexandre Julliard
parent 14efad5d66
commit 63823061ed
1 changed files with 2 additions and 2 deletions

View File

@ -179,8 +179,8 @@ static HRESULT process_pattern_string(LPCWSTR wszPatternString, IAsyncReader * p
if (!(wszPatternString = strchrW(wszPatternString, ',')))
hr = E_INVALIDARG;
wszPatternString++; /* skip ',' */
else
wszPatternString++; /* skip ',' */
}
if (hr == S_OK)