From: Ales Kozumplik Date: Fri, 24 Aug 2012 13:30:29 +0000 (+0200) Subject: cosmetic: fix possibly uninitialized variable warning in solv.c. X-Git-Tag: upstream/0.2.0~15^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ebb77d396a46f7b133d8074066936904c3459943;p=platform%2Fupstream%2Flibsolv.git cosmetic: fix possibly uninitialized variable warning in solv.c. --- 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);