Some dead stores and build fixes reported by LLVM 2.9.

This commit is contained in:
Juan RP
2011-04-07 12:24:20 +02:00
parent 6a91c2894e
commit d9eb0341cd
4 changed files with 3 additions and 4 deletions

View File

@@ -142,7 +142,6 @@ repository_find_pkg(const char *pattern, const char *reason)
if (rv != ENOENT)
goto out;
/* Package not installed, don't error out */
rv = 0;
state = XBPS_PKG_STATE_NOT_INSTALLED;
}
if ((rv = xbps_set_pkg_state_dictionary(origin_pkgrd, state)) != 0)