Fix all warnings found by clang analyzer as reported by ojab in issue 3.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user