[systemd-commits] 2 commits - src/bus-proxyd src/cgls

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Mon Apr 14 12:02:36 PDT 2014


 src/bus-proxyd/bus-proxyd.c |    1 -
 src/cgls/cgls.c             |    4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

New commits:
commit b8ec9ba918269a4a58d942d8488ce38a44847211
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Mon Apr 14 21:01:55 2014 +0200

    bus-proxy: remove unused variable

diff --git a/src/bus-proxyd/bus-proxyd.c b/src/bus-proxyd/bus-proxyd.c
index 46df223..38a8d14 100644
--- a/src/bus-proxyd/bus-proxyd.c
+++ b/src/bus-proxyd/bus-proxyd.c
@@ -371,7 +371,6 @@ static int process_driver(sd_bus *a, sd_bus *b, sd_bus_message *m) {
                 return 0;
 
         if (sd_bus_message_is_method_call(m, "org.freedesktop.DBus", "AddMatch")) {
-                _cleanup_bus_message_unref_ sd_bus_message *reply = NULL;
                 const char *match;
 
                 r = sd_bus_message_read(m, "s", &match);

commit 5706b3e78d29517680e64e984a8461e589d7721a
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Mon Apr 14 20:51:45 2014 +0200

    cgls: avoid writing an unused value
    
    silences a build-scan warning for the unused value in r

diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c
index 1840594..bec9b59 100644
--- a/src/cgls/cgls.c
+++ b/src/cgls/cgls.c
@@ -215,7 +215,7 @@ int main(int argc, char *argv[]) {
 
                                 path = unit_dbus_path_from_name(scope);
                                 if (!path) {
-                                        r = log_oom();
+                                        log_oom();
                                         goto finish;
                                 }
 
@@ -242,7 +242,7 @@ int main(int argc, char *argv[]) {
 
                                 root = strdup(cgroup);
                                 if (!root) {
-                                        r = log_oom();
+                                        log_oom();
                                         goto finish;
                                 }
 



More information about the systemd-commits mailing list