dbghelp: Use debugstr_a() to trace a string that can be NULL.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2017-04-12 13:20:30 +02:00 committed by Alexandre Julliard
parent 5a4cb67db9
commit 329b1763cb
1 changed files with 1 additions and 1 deletions

View File

@ -1920,7 +1920,7 @@ static struct symt* dwarf2_parse_subprogram(dwarf2_parse_context_t* ctx,
inline_flags.u.uvalue != DW_INL_not_inlined)
{
TRACE("Function %s declared as inlined (%ld)... skipping\n",
name.u.string ? name.u.string : "(null)", inline_flags.u.uvalue);
debugstr_a(name.u.string), inline_flags.u.uvalue);
return NULL;
}