James Hawkins : advpack: Don' t TRACE the internals of the setup pointer as it can be NULL.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Apr 20 08:46:10 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 92f979b00530867d301858e0217e0a580fdc0ccd
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=92f979b00530867d301858e0217e0a580fdc0ccd

Author: James Hawkins <truiken at gmail.com>
Date:   Thu Apr 20 01:35:55 2006 -0500

advpack: Don't TRACE the internals of the setup pointer as it can be NULL.

---

 dlls/advpack/install.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/advpack/install.c b/dlls/advpack/install.c
index 517529f..538451a 100644
--- a/dlls/advpack/install.c
+++ b/dlls/advpack/install.c
@@ -229,9 +229,7 @@ HRESULT WINAPI DoInfInstall(const SETUPC
     HINF hinf;
     void *callback_context;
 
-    TRACE("%p, %s, %s, %s, %s\n", setup->hwnd, debugstr_a(setup->title),
-          debugstr_a(setup->inf_name), debugstr_a(setup->dir),
-          debugstr_a(setup->section_name));
+    TRACE("(%p)\n", setup);
 
     hinf = SetupOpenInfFileA(setup->inf_name, NULL, INF_STYLE_WIN4, NULL);
     if (hinf == INVALID_HANDLE_VALUE) return HRESULT_FROM_WIN32(GetLastError());




More information about the wine-cvs mailing list