Added LTO support and fix warnings (maybe-uninitialized).

This commit is contained in:
Juan RP
2019-06-27 17:09:43 +02:00
parent bb96486b12
commit 0677678387
32 changed files with 92 additions and 76 deletions

View File

@@ -209,7 +209,7 @@ show_pkg_files(xbps_dictionary_t filesd)
xbps_array_t array, allkeys;
xbps_object_t obj;
xbps_dictionary_keysym_t ksym;
const char *keyname, *file;
const char *keyname = NULL, *file = NULL;
if (xbps_object_type(filesd) != XBPS_TYPE_DICTIONARY)
return EINVAL;