chiark / gitweb /
test-catalog,core/load-dropin: remove unused variables
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 5 Apr 2013 04:03:24 +0000 (00:03 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 5 Apr 2013 04:17:35 +0000 (00:17 -0400)
src/core/load-dropin.c
src/journal/test-catalog.c

index 942ad02..95c4f89 100644 (file)
@@ -173,7 +173,6 @@ char **unit_find_dropin_paths(Unit *u) {
 int unit_load_dropin(Unit *u) {
         Iterator i;
         char *t, **f;
 int unit_load_dropin(Unit *u) {
         Iterator i;
         char *t, **f;
-        _cleanup_strv_free_ char **strv = NULL;
         int r;
 
         assert(u);
         int r;
 
         assert(u);
index 21149f1..c463035 100644 (file)
@@ -89,7 +89,6 @@ static const char* database = NULL;
 
 static void test_catalog_update(void) {
         int r;
 
 static void test_catalog_update(void) {
         int r;
-        char _cleanup_free_ *path = NULL;
 
         static char name[] = "/tmp/test-catalog.XXXXXX";
         r = mkstemp(name);
 
         static char name[] = "/tmp/test-catalog.XXXXXX";
         r = mkstemp(name);