From 0d9a7a0f9762777fc72e02b2ab3406efda3b8e00 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 5 Aug 2011 13:22:46 +0100 Subject: [PATCH] activation helper: remove unused variable when not being verbose --- bus/activation-helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bus/activation-helper.c b/bus/activation-helper.c index 7012227..ab9d601 100644 --- a/bus/activation-helper.c +++ b/bus/activation-helper.c @@ -144,10 +144,10 @@ out_all: static dbus_bool_t clear_environment (DBusError *error) { - const char *debug_env = NULL; const char *starter_env = NULL; - #ifdef DBUS_ENABLE_VERBOSE_MODE + const char *debug_env = NULL; + /* are we debugging */ debug_env = _dbus_getenv ("DBUS_VERBOSE"); #endif -- 2.7.4