From 32689e930fe4056fe9de21b5f6eaa79689a1c7a9 Mon Sep 17 00:00:00 2001 From: Komeil Parseh Date: Sat, 12 Sep 2026 09:23:54 +0330 Subject: [PATCH] bin/xbps-rindex: initialize rpubkeysize/pubkeysize to fix LTO build --- bin/xbps-rindex/sign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-rindex/sign.c b/bin/xbps-rindex/sign.c index 4acb203ba..d362f3e28 100644 --- a/bin/xbps-rindex/sign.c +++ b/bin/xbps-rindex/sign.c @@ -150,7 +150,7 @@ sign_repo(struct xbps_handle *xhp, const char *repodir, xbps_dictionary_t meta = NULL; xbps_data_t data = NULL, rpubkey = NULL; RSA *rsa = NULL; - uint16_t rpubkeysize, pubkeysize; + uint16_t rpubkeysize = 0, pubkeysize = 0; const char *rsignedby = NULL; char *buf = NULL; int lockfd = -1;