repart: workaround spurious maybe-uninitialized warning

Build fails on Ubuntu Jammy
This commit is contained in:
Luca Boccassi
2022-10-03 10:26:31 +01:00
parent 0a8720c7f0
commit 419f2742e7
+1 -1
View File
@@ -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;