Fixed failure to build on NetBSD because of undeclared variable

This commit is contained in:
Thomas Schmitt 2018-09-16 10:37:49 +02:00
parent e317a8d93e
commit 066c6f685d

View File

@ -406,8 +406,9 @@ int aaip_get_attr_list(char *path, size_t *num_attrs, char ***names,
char *list= NULL, *user_list= NULL, *sys_list= NULL;
ssize_t value_ret, list_size= 0, user_list_size= 0;
ssize_t sys_list_size= 0;
int acl_names= 0, no_perm_for_system= 0;
int acl_names= 0;
#endif
int no_perm_for_system= 0;
if(flag & (1 << 15)) { /* Free memory */
{ret= 1; goto ex;}