From ebb77d396a46f7b133d8074066936904c3459943 Mon Sep 17 00:00:00 2001 From: Ales Kozumplik Date: Fri, 24 Aug 2012 15:30:29 +0200 Subject: [PATCH] cosmetic: fix possibly uninitialized variable warning in solv.c. --- examples/solv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/solv.c b/examples/solv.c index 4c8355f..221a59c 100644 --- a/examples/solv.c +++ b/examples/solv.c @@ -1299,7 +1299,7 @@ repomd_load_ext(Repo *repo, Repodata *data) struct repoinfo *cinfo; const unsigned char *filechksum; Id filechksumtype; - int r; + int r = 0; cinfo = repo->appdata; repomdtype = repodata_lookup_str(data, SOLVID_META, REPOSITORY_REPOMD_TYPE); -- 2.7.4