summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-05 00:03:24 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-05 00:17:35 -0400
commit737563e4bb1606cae1dd0e9484f9e82da466fe76 (patch)
treeb7e297ae6c54e69584aa5fb69957064f3ebf936c
parent144e51eca20b72c8177314c225d8c15c1b0b9d6b (diff)
test-catalog,core/load-dropin: remove unused variables
-rw-r--r--src/core/load-dropin.c1
-rw-r--r--src/journal/test-catalog.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/core/load-dropin.c b/src/core/load-dropin.c
index 942ad027e9..95c4f894cd 100644
--- a/src/core/load-dropin.c
+++ b/src/core/load-dropin.c
@@ -173,7 +173,6 @@ char **unit_find_dropin_paths(Unit *u) {
int unit_load_dropin(Unit *u) {
Iterator i;
char *t, **f;
- _cleanup_strv_free_ char **strv = NULL;
int r;
assert(u);
diff --git a/src/journal/test-catalog.c b/src/journal/test-catalog.c
index 21149f18a5..c463035891 100644
--- a/src/journal/test-catalog.c
+++ b/src/journal/test-catalog.c
@@ -89,7 +89,6 @@ static const char* database = NULL;
static void test_catalog_update(void) {
int r;
- char _cleanup_free_ *path = NULL;
static char name[] = "/tmp/test-catalog.XXXXXX";
r = mkstemp(name);