Remove unnecessary variable assignments reported by cppcheck.

This commit is contained in:
Juan RP
2012-11-06 09:28:34 +01:00
parent c7402a9176
commit 310e619ea3
6 changed files with 5 additions and 7 deletions

View File

@ -691,7 +691,7 @@ xbps_unpack_binary_pkg(struct xbps_handle *xhp, prop_dictionary_t pkg_repod)
{
struct archive *ar = NULL;
const char *pkgname, *version, *repoloc, *pkgver, *fname;
char *bpkg = NULL;
char *bpkg;
int rv = 0;
assert(prop_object_type(pkg_repod) == PROP_TYPE_DICTIONARY);