diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-08-21 23:07:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-08-21 23:07:49 +0200 |
commit | 28b967a87bfa83815ae97e80c02f637a5dd3f454 (patch) | |
tree | 8493a583f442a2c9cfd0f6e1946aa50d75472c16 | |
parent | 932b06b8fff181aad50ce3ff839865def5574454 (diff) | |
parent | 62f176068c31de4b7b56aae06efaf27c410dc3c3 (diff) |
Merge pull request #1009 from phomes/master
remove unused variables
-rw-r--r-- | src/nspawn/nspawn.c | 1 | ||||
-rw-r--r-- | src/resolve/resolved-manager.c | 1 |
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(¤t, ":", 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); |