summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-11-25 21:16:26 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-11-25 21:16:26 +0100
commit26fefda707e6511733f48da03b281a004dba6abf (patch)
tree6fc9da6fe0e451cfb31d8d63ef15ebf8cfeecaec /src
parent6ae115c1fe95611b39d2f20cfcea3d385429f59e (diff)
delete unused variables
Diffstat (limited to 'src')
-rw-r--r--src/libsystemd-bus/bus-util.c1
-rw-r--r--src/network/networkd-address.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/libsystemd-bus/bus-util.c b/src/libsystemd-bus/bus-util.c
index 2140dbc676..2daf8c1dc4 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 4c321dc454..9cfc0955d3 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;