summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-21 23:07:49 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-21 23:07:49 +0200
commit28b967a87bfa83815ae97e80c02f637a5dd3f454 (patch)
tree8493a583f442a2c9cfd0f6e1946aa50d75472c16 /src
parent932b06b8fff181aad50ce3ff839865def5574454 (diff)
parent62f176068c31de4b7b56aae06efaf27c410dc3c3 (diff)
Merge pull request #1009 from phomes/master
remove unused variables
Diffstat (limited to 'src')
-rw-r--r--src/nspawn/nspawn.c1
-rw-r--r--src/resolve/resolved-manager.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 347260013a..e8a023d023 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -658,7 +658,6 @@ static int parse_argv(int argc, char *argv[]) {
const char *current = optarg;
_cleanup_free_ char *source = NULL, *destination = NULL;
CustomMount *m;
- _cleanup_strv_free_ char **strv = NULL;
r = extract_many_words(&current, ":", EXTRACT_DONT_COALESCE_SEPARATORS, &source, &destination, NULL);
switch (r) {
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
index 9f451dd3e8..fb2a06b517 100644
--- a/src/resolve/resolved-manager.c
+++ b/src/resolve/resolved-manager.c
@@ -1405,7 +1405,6 @@ void manager_flush_dns_servers(Manager *m, DnsServerType t) {
}
int manager_is_own_hostname(Manager *m, const char *name) {
- _cleanup_free_ char *l = NULL;
int r;
assert(m);