/* No more slashes, this is the base case. */
return openat(at_fd, pathname, flags);
}
- else if (firstslash[1] == '\0') {
+ if (firstslash[1] == '\0') {
/* The first slash is the last character; ensure that we open
a directory. */
firstslash[0] = '\0';