projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a8720c
)
repart: workaround spurious maybe-uninitialized warning
author
Luca Boccassi
<bluca@debian.org>
Sun, 2 Oct 2022 19:11:21 +0000
(20:11 +0100)
committer
Luca Boccassi
<bluca@debian.org>
Mon, 3 Oct 2022 09:26:31 +0000
(10:26 +0100)
Build fails on Ubuntu Jammy
src/partition/repart.c
patch
|
blob
|
history
diff --git
a/src/partition/repart.c
b/src/partition/repart.c
index 7a24e8ffec8cbd8a9398a3ce3ca6d8c57bac3fa2..cbda6e408bdedd19ba21d7126504eb466dc6ec21 100644
(file)
--- a/
src/partition/repart.c
+++ b/
src/partition/repart.c
@@
-3788,7
+3788,7
@@
static int context_verity_sig(Context *context) {
_cleanup_free_ char *text = NULL;
Partition *hp;
uint8_t fp[X509_FINGERPRINT_SIZE];
- size_t sigsz
, padsz;
+ size_t sigsz
= 0, padsz; /* avoid false maybe-uninitialized warning */
if (p->dropped)
continue;