advpack: Don't TRACE the internals of the setup pointer as it can be NULL.
This commit is contained in:
parent
49a29a1878
commit
92f979b005
|
@ -229,9 +229,7 @@ HRESULT WINAPI DoInfInstall(const SETUPCOMMAND_PARAMS *setup)
|
||||||
HINF hinf;
|
HINF hinf;
|
||||||
void *callback_context;
|
void *callback_context;
|
||||||
|
|
||||||
TRACE("%p, %s, %s, %s, %s\n", setup->hwnd, debugstr_a(setup->title),
|
TRACE("(%p)\n", setup);
|
||||||
debugstr_a(setup->inf_name), debugstr_a(setup->dir),
|
|
||||||
debugstr_a(setup->section_name));
|
|
||||||
|
|
||||||
hinf = SetupOpenInfFileA(setup->inf_name, NULL, INF_STYLE_WIN4, NULL);
|
hinf = SetupOpenInfFileA(setup->inf_name, NULL, INF_STYLE_WIN4, NULL);
|
||||||
if (hinf == INVALID_HANDLE_VALUE) return HRESULT_FROM_WIN32(GetLastError());
|
if (hinf == INVALID_HANDLE_VALUE) return HRESULT_FROM_WIN32(GetLastError());
|
||||||
|
|
Loading…
Reference in New Issue