From 7c8ab7d6deee64eb55dcbcc7ee1c2e36da69fa21 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Fri, 7 Sep 2018 16:28:25 +0200 Subject: [PATCH] Work around bogus uninitialized warning from gcc --- ext/repo_rpmdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/repo_rpmdb.c b/ext/repo_rpmdb.c index 75bb6780..277c7aae 100644 --- a/ext/repo_rpmdb.c +++ b/ext/repo_rpmdb.c @@ -1000,7 +1000,7 @@ addchangelog(Repodata *data, Id handle, RpmHead *rpmhead) char **cn; char **cx; uint32_t *ct; - int i, cnc, cxc, ctc; + int i, cnc, cxc, ctc = 0; Queue hq; ct = headint32array(rpmhead, TAG_CHANGELOGTIME, &ctc); -- 2.47.2