diff --git a/src/partition/repart.c b/src/partition/repart.c index 7a24e8ffec..cbda6e408b 100644 --- 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;