diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-08-16 00:31:23 +0200 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-08-16 00:32:21 +0200 |
commit | f1e3bee216b9eac1d5b00415617cb2ff5e894c10 (patch) | |
tree | 1e3fbb320a74aa35e5a411893d8aceaf723fea5d | |
parent | 050f74f286b12945e3eb13a45dca92783fa65bb8 (diff) |
sd-bus,log: remove unused variables
-rw-r--r-- | src/libsystemd/sd-bus/bus-objects.c | 1 | ||||
-rw-r--r-- | src/shared/log.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/libsystemd/sd-bus/bus-objects.c b/src/libsystemd/sd-bus/bus-objects.c index 78dab8048d..00e8e9655b 100644 --- a/src/libsystemd/sd-bus/bus-objects.c +++ b/src/libsystemd/sd-bus/bus-objects.c @@ -287,7 +287,6 @@ static int node_callbacks_run( #define CAPABILITY_SHIFT(x) (((x) >> __builtin_ctzll(_SD_BUS_VTABLE_CAPABILITY_MASK)) & 0xFFFF) static int check_access(sd_bus *bus, sd_bus_message *m, struct vtable_member *c, sd_bus_error *error) { - _cleanup_bus_creds_unref_ sd_bus_creds *creds = NULL; uint64_t cap; int r; diff --git a/src/shared/log.c b/src/shared/log.c index b730ac921a..26c604afd8 100644 --- a/src/shared/log.c +++ b/src/shared/log.c @@ -908,7 +908,6 @@ static int parse_proc_cmdline_item(const char *key, const char *value) { } void log_parse_environment(void) { - _cleanup_free_ char *line = NULL; const char *e; parse_proc_cmdline(parse_proc_cmdline_item); |