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

@@ -149,8 +149,6 @@ xbps_file_hash_dictionary(prop_dictionary_t d,
assert(key != NULL);
assert(file != NULL);
curfile = sha256 = NULL;
iter = xbps_array_iter_from_dict(d, key);
if (iter == NULL) {
errno = ENOENT;