diff --git a/attr.c b/attr.c index 924b4408d5d94cbbf4c44db1ad919e60e178cb60..ad7eb9cd31719a6ef1b3229c68dbf2441f23c9f9 100644 --- a/attr.c +++ b/attr.c @@ -568,7 +568,7 @@ static void prepare_attr_stack(const char *path, int dirlen) * Pop the ones from directories that are not the prefix of * the path we are checking. */ - while (attr_stack && attr_stack->origin) { + while (attr_stack->origin) { int namelen = strlen(attr_stack->origin); elem = attr_stack;