lib/initend.c: fix clang warning; no need to initialize partially glob_t.
This commit is contained in:
parent
ccc5a29a27
commit
f7d1ed6ae3
@ -159,8 +159,9 @@ parse_option(char *buf, char **k, char **v)
|
||||
}
|
||||
|
||||
static int
|
||||
parse_files_glob(struct xbps_handle *xhp, const char *path, bool nested, bool vpkgconf) {
|
||||
glob_t globbuf = { 0 };
|
||||
parse_files_glob(struct xbps_handle *xhp, const char *path, bool nested, bool vpkgconf)
|
||||
{
|
||||
glob_t globbuf;
|
||||
int i, rv = 0;
|
||||
|
||||
glob(path, 0, NULL, &globbuf);
|
||||
|
Loading…
Reference in New Issue
Block a user