From e9a80538ba269c1e6abfb6bf66b4e0957b83ec21 Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Wed, 26 Jun 2013 20:31:07 +0800 Subject: [PATCH v2 4/4] dbus-launch: do not verbose output if build with verbose mode disabled Signed-off-by: Chengwei Yang --- tools/dbus-launch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c index b44b639..7f6a704 100644 --- a/tools/dbus-launch.c +++ b/tools/dbus-launch.c @@ -153,6 +153,7 @@ void verbose (const char *format, ...) { +#ifdef DBUS_ENABLE_VERBOSE_MODE va_list args; static int verbose = TRUE; static int verbose_initted = FALSE; @@ -177,6 +178,7 @@ verbose (const char *format, va_start (args, format); vfprintf (stderr, format, args); va_end (args); +#endif /* DBUS_ENABLE_VERBOSE_MODE */ } static void -- 1.7.9.5