projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d41de2
)
import: make scope of variable smaller
author
Lennart Poettering
<lennart@poettering.net>
Fri, 15 Jan 2021 15:42:45 +0000
(16:42 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 19 Jan 2021 17:29:59 +0000
(18:29 +0100)
src/import/pull-common.c
patch
|
blob
|
history
diff --git
a/src/import/pull-common.c
b/src/import/pull-common.c
index 33be609aec57310dd08bd63302d20db9d611962a..243cf7cb85885948bb74f24164d0abd1d6852d88 100644
(file)
--- 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);