mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
posix: Fix Hurd build failure in tst-execveat
This avoids a -Werror compilation failure due to unused local variables.
This commit is contained in:
parent
2a76821c30
commit
2c71177309
@ -78,9 +78,12 @@ static int
|
||||
do_test (void)
|
||||
{
|
||||
DIR *dirp;
|
||||
int fd, fd_out;
|
||||
int fd;
|
||||
#ifdef O_PATH
|
||||
int fd_out;
|
||||
char *tmp_dir, *symlink_name, *tmp_sh;
|
||||
struct stat64 st;
|
||||
#endif
|
||||
|
||||
dirp = opendir ("/bin");
|
||||
if (dirp == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user