alternatives: fix a warning.
This commit is contained in:
parent
512122da4c
commit
33a1bea633
@ -102,7 +102,7 @@ create_symlinks(struct xbps_handle *xhp, xbps_array_t a, const char *grname)
|
|||||||
cnt = xbps_array_count(a);
|
cnt = xbps_array_count(a);
|
||||||
for (i = 0; i < cnt; i++) {
|
for (i = 0; i < cnt; i++) {
|
||||||
xbps_string_t str;
|
xbps_string_t str;
|
||||||
char *l, *lnk, *tgt;
|
char *l, *lnk, *tgt = NULL;
|
||||||
const char *tgt0;
|
const char *tgt0;
|
||||||
int rv;
|
int rv;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user