summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2016-02-23 20:16:59 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2016-02-23 20:40:51 +0100
commit662ea1b14ab2306de8c7793e6283994d695cc09d (patch)
tree04b4c5d052dfd2a7565e02a56a252fcc5b95e15c /src/resolve
parent7c9337dae8c27b8ff963412274aa95eaf1ec04a5 (diff)
tree-wide: remove unused variables
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/resolved-bus.c1
-rw-r--r--src/resolve/test-dns-packet.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/resolve/resolved-bus.c b/src/resolve/resolved-bus.c
index 214810362d..16cae8c1e5 100644
--- a/src/resolve/resolved-bus.c
+++ b/src/resolve/resolved-bus.c
@@ -1137,7 +1137,6 @@ finish:
static int bus_method_resolve_service(sd_bus_message *message, void *userdata, sd_bus_error *error) {
_cleanup_(dns_question_unrefp) DnsQuestion *question_idna = NULL, *question_utf8 = NULL;
const char *name, *type, *domain;
- _cleanup_free_ char *n = NULL;
Manager *m = userdata;
int family, ifindex;
uint64_t flags;
diff --git a/src/resolve/test-dns-packet.c b/src/resolve/test-dns-packet.c
index 1abbd3fa2e..c232a69ce1 100644
--- a/src/resolve/test-dns-packet.c
+++ b/src/resolve/test-dns-packet.c
@@ -89,7 +89,6 @@ static void test_packet_from_file(const char* filename, bool canonical) {
int main(int argc, char **argv) {
int i, N;
_cleanup_globfree_ glob_t g = {};
- _cleanup_strv_free_ char **globs = NULL;
char **fnames;
log_parse_environment();