activation helper: remove unused variable when not being verbose
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 5 Aug 2011 12:22:46 +0000 (13:22 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 19 Sep 2011 12:50:38 +0000 (13:50 +0100)
bus/activation-helper.c

index 7012227..ab9d601 100644 (file)
@@ -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