winhlp32: Do not pass NULL to strchr() (spotted by clang).
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fe517f9256
commit
5a3ad0ecf0
|
@ -607,7 +607,7 @@ static void CALLBACK MACRO_JumpID(LPCSTR lpszPathWindow, LPCSTR topic_id)
|
||||||
LPSTR ptr;
|
LPSTR ptr;
|
||||||
|
|
||||||
WINE_TRACE("(%s, %s)\n", debugstr_a(lpszPathWindow), debugstr_a(topic_id));
|
WINE_TRACE("(%s, %s)\n", debugstr_a(lpszPathWindow), debugstr_a(topic_id));
|
||||||
if ((ptr = strchr(lpszPathWindow, '>')) != NULL)
|
if (lpszPathWindow && (ptr = strchr(lpszPathWindow, '>')) != NULL)
|
||||||
{
|
{
|
||||||
LPSTR tmp;
|
LPSTR tmp;
|
||||||
size_t sz;
|
size_t sz;
|
||||||
|
|
Loading…
Reference in New Issue