mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -607,7 +607,7 @@ static void CALLBACK MACRO_JumpID(LPCSTR lpszPathWindow, LPCSTR topic_id)
|
|||
LPSTR ptr;
|
||||
|
||||
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;
|
||||
size_t sz;
|
||||
|
|
Loading…
Reference in a new issue