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

@@ -271,7 +271,7 @@ xbps_remove_pkg(struct xbps_handle *xhp,
bool soft_replace)
{
prop_dictionary_t pkgd = NULL;
char *tmpname = NULL, *buf = NULL, *pkgver = NULL;
char *tmpname, *buf, *pkgver = NULL;
const char *tmpver = NULL;
int rv = 0;
bool rmfile_exists = false;