]> git.ipfire.org Git - pakfire.git/commitdiff
build: Remove fetching unused path
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 Jan 2025 10:24:30 +0000 (10:24 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 Jan 2025 10:24:30 +0000 (10:24 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/build.c

index 3b961ce37c5451772faf49ce1d6e89c76f48e98b..1c508416eabd8a76e892a4795ef93ddec2046595 100644 (file)
@@ -1219,8 +1219,6 @@ static int pakfire_build_package(struct pakfire_build* build, struct pakfire_par
        if (r)
                goto ERROR;
 
-       const char* path = pakfire_repo_get_path(build->repo);
-
        // Write the archive
        r = pakfire_packager_write_archive(packager, &archive);
        if (r < 0) {