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: BASE-SuSE-Code-12_3-Branch~239^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16%2Fhead;p=thirdparty%2Flibsolv.git cosmetic: fix possibly uninitialized variable warning in solv.c. --- diff --git a/examples/solv.c b/examples/solv.c index 4c8355ff..221a59c4 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);