bin/xbps-pkgdb/check_pkg_files.c: no need to initialize rv.
This commit is contained in:
parent
dc900353e4
commit
ab445ec307
@ -1,5 +1,5 @@
|
|||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2011-2012 Juan Romero Pardines.
|
* Copyright (c) 2011-2013 Juan Romero Pardines.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -54,8 +54,8 @@ check_pkg_files(struct xbps_handle *xhp, const char *pkgname, void *arg)
|
|||||||
prop_dictionary_t pkg_filesd = arg;
|
prop_dictionary_t pkg_filesd = arg;
|
||||||
const char *file, *sha256;
|
const char *file, *sha256;
|
||||||
char *path;
|
char *path;
|
||||||
int rv = 0;
|
|
||||||
bool mutable, broken = false, test_broken = false;
|
bool mutable, broken = false, test_broken = false;
|
||||||
|
int rv;
|
||||||
|
|
||||||
array = prop_dictionary_get(pkg_filesd, "files");
|
array = prop_dictionary_get(pkg_filesd, "files");
|
||||||
if (array != NULL && prop_array_count(array) > 0) {
|
if (array != NULL && prop_array_count(array) > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user