Fix warnings detected by LTO.

This commit is contained in:
Juan RP
2020-04-23 08:32:54 +02:00
parent e7c1f411ec
commit 530e79c7ee
5 changed files with 8 additions and 6 deletions

View File

@@ -428,7 +428,7 @@ create_dot_graph(struct xbps_handle *xhp,
{
xbps_dictionary_t sub_confd;
xbps_array_t allkeys, rdeps;
const char *pkgver, *cfprop;
const char *pkgver = NULL, *cfprop;
xbps_dictionary_get_cstring_nocopy(plistd, "pkgver", &pkgver);