diff options
author | Chengwei Yang <chengwei.yang@intel.com> | 2013-06-26 20:31:07 +0800 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-06-26 15:23:35 +0100 |
commit | eec093bbdb14d17d9d1cc01bca3fff7f1d3931e7 (patch) | |
tree | eda1086e5e20e91beaa546671d3585aca9de4990 /tools/dbus-launch.c | |
parent | 8aa07c7e489c44dd6fe3199558ffb5401f0bdeab (diff) | |
download | dbus-eec093bbdb14d17d9d1cc01bca3fff7f1d3931e7.tar.gz |
dbus-launch: do not verbose output if build with verbose mode disabled
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66068
Diffstat (limited to 'tools/dbus-launch.c')
-rw-r--r-- | tools/dbus-launch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c index 99143a62..80e1419d 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 |