[systemd-commits] src/libsystemd src/shared

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Fri Aug 15 15:32:53 PDT 2014


 src/libsystemd/sd-bus/bus-objects.c |    1 -
 src/shared/log.c                    |    1 -
 2 files changed, 2 deletions(-)

New commits:
commit f1e3bee216b9eac1d5b00415617cb2ff5e894c10
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Sat Aug 16 00:31:23 2014 +0200

    sd-bus,log: remove unused variables

diff --git a/src/libsystemd/sd-bus/bus-objects.c b/src/libsystemd/sd-bus/bus-objects.c
index 78dab80..00e8e96 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 b730ac9..26c604a 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);



More information about the systemd-commits mailing list