diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-07-14 18:46:06 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-08-05 12:27:01 +0100 |
commit | b4e01ab099df34368413ea0f6be86e0f14b99155 (patch) | |
tree | 47acd2d860ecbabb8ab60df58d39c640b8dd9d7b /bus/activation-helper.c | |
parent | b03841dbc4e707bffede1995b5055757f0a66c0a (diff) | |
download | dbus-b4e01ab099df34368413ea0f6be86e0f14b99155.tar.gz |
activation-helper: remove unused variable from the real build
It's only used in the test build.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39231
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
Diffstat (limited to 'bus/activation-helper.c')
-rw-r--r-- | bus/activation-helper.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bus/activation-helper.c b/bus/activation-helper.c index b7ea6867..7012227e 100644 --- a/bus/activation-helper.c +++ b/bus/activation-helper.c @@ -403,12 +403,15 @@ get_correct_parser (BusConfigParser **parser, DBusError *error) { DBusString config_file; dbus_bool_t retval; +#ifdef ACTIVATION_LAUNCHER_TEST const char *test_config_file; +#endif retval = FALSE; - test_config_file = NULL; #ifdef ACTIVATION_LAUNCHER_TEST + test_config_file = NULL; + /* there is no _way_ we should be setuid if this define is set. * but we should be doubly paranoid and check... */ if (getuid() != geteuid()) |