mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-27 19:40:11 +01:00
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
This commit is contained in:
parent
8aa07c7e48
commit
eec093bbdb
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue