summaryrefslogtreecommitdiff
path: root/bus/activation-helper.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2011-08-05 13:22:46 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2011-09-19 13:50:38 +0100
commit0d9a7a0f9762777fc72e02b2ab3406efda3b8e00 (patch)
treeaf650bdc91f9786b603ba62126313f45fee0991c /bus/activation-helper.c
parenteaa1f2574629425c0e66225d5e387734cde087c6 (diff)
downloaddbus-0d9a7a0f9762777fc72e02b2ab3406efda3b8e00.tar.gz
activation helper: remove unused variable when not being verbose
Diffstat (limited to 'bus/activation-helper.c')
-rw-r--r--bus/activation-helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bus/activation-helper.c b/bus/activation-helper.c
index 7012227e..ab9d6010 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