summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-08-02 23:38:01 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-08-03 13:19:19 +0200
commite850d8e1acad4b06ba212145fee67932a3417cd6 (patch)
treeab65c33fa68de2b216fb937bd4a2f805f8e363ad /src
parent23f25b1496c31ef4c20b8f3ee8328f7b1d5f3a54 (diff)
resolved: remove unused variables
Diffstat (limited to 'src')
-rw-r--r--src/resolve/resolved-bus.c1
-rw-r--r--src/resolve/resolved-manager.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/resolve/resolved-bus.c b/src/resolve/resolved-bus.c
index fa00b3d0a1..e158fdc22b 100644
--- a/src/resolve/resolved-bus.c
+++ b/src/resolve/resolved-bus.c
@@ -552,7 +552,6 @@ finish:
static int bus_method_resolve_record(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) {
_cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL;
_cleanup_(dns_question_unrefp) DnsQuestion *question = NULL;
- _cleanup_free_ char *reverse = NULL;
Manager *m = userdata;
DnsQuery *q;
int r;
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
index 5ed7a9fd1c..1b6dc8a4a3 100644
--- a/src/resolve/resolved-manager.c
+++ b/src/resolve/resolved-manager.c
@@ -359,7 +359,6 @@ static int on_hostname_change(sd_event_source *es, int fd, uint32_t revents, voi
}
static int manager_watch_hostname(Manager *m) {
- _cleanup_free_ char *h = NULL;
int r;
assert(m);