From c6cb8daf723978b98c4d6f0b627ad3fdc4954c53 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 15 Jan 2021 16:42:45 +0100 Subject: import: make scope of variable smaller --- src/import/pull-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/import/pull-common.c b/src/import/pull-common.c index 33be609aec..243cf7cb85 100644 --- a/src/import/pull-common.c +++ b/src/import/pull-common.c @@ -255,7 +255,6 @@ int pull_make_verification_jobs( _cleanup_(pull_job_unrefp) PullJob *checksum_job = NULL, *signature_job = NULL; int r; - const char *chksums = NULL; assert(ret_checksum_job); assert(ret_signature_job); @@ -266,6 +265,7 @@ int pull_make_verification_jobs( if (verify != IMPORT_VERIFY_NO) { _cleanup_free_ char *checksum_url = NULL, *fn = NULL; + const char *chksums = NULL; /* Queue jobs for the checksum file for the image. */ r = import_url_last_component(url, &fn); -- cgit v1.2.1