mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-27 03:21:32 +03:00
repart: workaround spurious maybe-uninitialized warning
Build fails on Ubuntu Jammy
This commit is contained in:
parent
0a8720c7f0
commit
419f2742e7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user