Fix all warnings found by clang analyzer as reported by ojab in issue 3.

This commit is contained in:
Juan RP
2011-02-03 17:49:43 +01:00
parent 0a26497b50
commit 097b50b3c2
6 changed files with 5 additions and 7 deletions

View File

@@ -93,7 +93,7 @@ repository_find_pkg(const char *pattern, const char *reason)
assert(pattern != NULL);
assert(reason != NULL);
success = install = bypattern = bestpkg = false;
install = bypattern = false;
if (strcmp(reason, "install") == 0) {
/* install */