]> git.ipfire.org Git - pakfire.git/commitdiff
tests: Remove double declaration
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Nov 2024 18:52:03 +0000 (18:52 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Nov 2024 18:58:02 +0000 (18:58 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/libpakfire/db.c

index 909a9ab2545296a775bd3bff13ca2358b2e13de2..795790b89ea27a455c4f131d658b84e0e28f3aa2 100644 (file)
@@ -82,7 +82,6 @@ static int test_add_package(const struct test* t) {
        struct pakfire_db* db = NULL;
        struct pakfire_repo* repo = NULL;
        struct pakfire_archive* archive = NULL;
-       struct pakfire_package* package = NULL;
        int r = EXIT_FAILURE;
 
        ASSERT(repo = pakfire_get_repo(t->pakfire, PAKFIRE_REPO_DUMMY));