[systemd-commits] src/libsystemd-bus src/network
Thomas H.P. Andersen
phomes at kemper.freedesktop.org
Mon Nov 25 12:15:47 PST 2013
src/libsystemd-bus/bus-util.c | 1 -
src/network/networkd-address.c | 1 -
2 files changed, 2 deletions(-)
New commits:
commit 26fefda707e6511733f48da03b281a004dba6abf
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Nov 25 21:16:26 2013 +0100
delete unused variables
diff --git a/src/libsystemd-bus/bus-util.c b/src/libsystemd-bus/bus-util.c
index 2140dbc..2daf8c1 100644
--- a/src/libsystemd-bus/bus-util.c
+++ b/src/libsystemd-bus/bus-util.c
@@ -206,7 +206,6 @@ static void async_polkit_query_free(sd_bus *b, AsyncPolkitQuery *q) {
static int async_polkit_callback(sd_bus *bus, sd_bus_message *reply, void *userdata, sd_bus_error *error) {
_cleanup_bus_error_free_ sd_bus_error error_buffer = SD_BUS_ERROR_NULL;
- _cleanup_bus_message_unref_ sd_bus_message *m = NULL;
AsyncPolkitQuery *q = userdata;
int r;
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c
index 4c321dc..9cfc095 100644
--- a/src/network/networkd-address.c
+++ b/src/network/networkd-address.c
@@ -206,7 +206,6 @@ int config_parse_label(const char *unit,
void *userdata) {
Network *network = userdata;
_cleanup_address_free_ Address *n = NULL;
- _cleanup_free_ char *address = NULL;
char *label;
int r;
More information about the systemd-commits
mailing list